summaryrefslogtreecommitdiffstats
path: root/src/nl-tctree-list.c
AgeCommit message (Collapse)AuthorFilesLines
2011-03-29trafic class/classifer API improvements and documentationThomas Graf1-4/+4
- removed dead functions in header files - deprecated rtnl_class_foreach_*() functions due to their missing handling possibility of OOM situations - improved API documentation
2011-03-24Deprecate rtnl_qdisc_foreach_child() and rtnl_qdisc_foreach_cls()Thomas Graf1-1/+17
Their usage is not completely safe, it is not possible to handle the out of memory situation of the allocate filter. It is very unlikely for this to cause any problem though. The functions are still accessible but gcc will warn about their deprecation.
2010-10-26Unified TC attributes interfaceThomas Graf1-2/+2
So far all common tc atttributes were accessed via specific functions, i.e. rtnl_class_set_parent(), rtnl_qdisc_set_parent(), rtnl_cls_set_parent() which implied a lot of code duplication. Since all tc objects are derived from struct rtnl_tc and these common attributes are already stored in there this patch removes all type specific functions and makes rtnl_tc_* attribute functions public. rtnl_qdisc_set_parent(qdisc, 10); becomes: rtnl_tc_set_parent((struct rtnl_tc *) qdisc, 10); This patch also adds the following new attributes to tc objects therefore removing them as tc specific attributes: - mtu - mpu - overhead This allows for the rate table calculations to be unified as well taking into account the new kernel behavior to take care of overhead automatically.
2009-12-16CLI - Command Line Interface LibraryThomas Graf1-8/+10
Moved common code in src/ used by CLI tools to src/lib/ for possible use by other CLI tools. Just link to libnl-cli.{so|la}
2008-05-23New set of libnl toolsThomas Graf1-0/+147
Converts all tools to the API changes and improves the useability by introducing regular options and long options.