summaryrefslogtreecommitdiffstats
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
* pktloc: support to specify a shift operator for packet locationsThomas GraF2010-11-041-12/+32
| | | | no users yet though.
* classid auto generation if provided tc name does not existThomas Graf2010-11-011-1/+10
| | | | | | | | | | | | | | | | Manually editing etc/libnl/classid before adding tc objects is a pain. This patch adds code to attempt auto generating a unique tc id which will then be assigned to the provided name and added to the classid file. This will make the following commands work with prior definitions of the names "top" and "test" sudo sbin/nl-qdisc-add --dev eth0 --parent root --id top htb sudo sbin/nl-class-add --dev eth0 --parent top --id test htb --rate 100mbit It will generate the following ids automatically: 4001: top 4001:1 test
* Extended pktloc to support nbyte locations for ipv6, etc.Thomas Graf2010-10-281-0/+12
| | | | | The alignment column/field now also takes a number, specifying the length in bytes of the field described by the location
* classid databaseThomas Graf2010-10-191-0/+36
| | | | | | | | | A database to resolve qdisc/class names to classid values and vice versa. The function rtnl_tc_handle2str() and rtnl_tc_str2handle() will resolve names automatically. A CLI based tool nl-classid-lookup is provided to integrate the database into existing iproute2 scripts.
* Packet Location InterfaceThomas Graf2010-07-021-0/+44