summaryrefslogtreecommitdiffstats
path: root/src/nl-cls-delete.c
Commit message (Collapse)AuthorAgeFilesLines
* Make some functions and global variables staticPavel Roskin2011-08-111-1/+1
|
* Unified TC APIThomas Graf2011-03-211-1/+1
| | | | | | | | Finally got rid of all the qdisc/class/cls code duplication in the tc module API. The API takes care of allocation/freeing the tc object specific data. I hope I got it right this time.
* classid auto generation if provided tc name does not existThomas Graf2010-11-011-1/+1
| | | | | | | | | | | | | | | | 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
* nl-cls-* toolsThomas Graf2010-10-261-61/+83
| | | | cli based tools to add/update/list/delete classifiers
* - Reworked the classifier interface.Thomas Graf2009-09-021-0/+133
- Added initial ematch support - Added support for the basic classifier - Added support for the cgroup classifier