libnl/include
Thomas Graf 4c6d1c5dfb Unified TC attributes interface
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.
2010-10-26 12:54:33 +02:00
..
linux Update include/linux header copies 2010-10-21 19:47:14 +02:00
netlink Unified TC attributes interface 2010-10-26 12:54:33 +02:00
Makefile.am Don't install private header files. 2010-04-19 12:56:31 +02:00
netlink-generic.h Initial import 2007-09-15 01:28:01 +02:00
netlink-local.h Unified TC attributes interface 2010-10-26 12:54:33 +02:00
netlink-tc.h Unified TC attributes interface 2010-10-26 12:54:33 +02:00
netlink-types.h Unified TC attributes interface 2010-10-26 12:54:33 +02:00