libnl/lib/route
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
..
cls Unified TC attributes interface 2010-10-26 12:54:33 +02:00
link Remove old line counting while dumping 2008-05-23 23:45:14 +02:00
sch Unified TC attributes interface 2010-10-26 12:54:33 +02:00
.gitignore Let git ignore generated pktloc source files 2010-07-03 15:56:07 +02:00
addr.c Remove NL_DUMP_ENV code 2010-10-20 15:32:45 +02:00
class.c Unified TC attributes interface 2010-10-26 12:54:33 +02:00
class_api.c Thread-safe error handling 2008-05-14 17:49:44 +02:00
class_obj.c Unified TC attributes interface 2010-10-26 12:54:33 +02:00
classid.c classid database 2010-10-19 16:31:23 +02:00
cls.c Unified TC attributes interface 2010-10-26 12:54:33 +02:00
cls_api.c Thread-safe error handling 2008-05-14 17:49:44 +02:00
cls_obj.c Unified TC attributes interface 2010-10-26 12:54:33 +02:00
link.c Remove NL_DUMP_ENV code 2010-10-20 15:32:45 +02:00
neigh.c Remove NL_DUMP_ENV code 2010-10-20 15:32:45 +02:00
neightbl.c Add internal wait_for_ack() which only waits for ACK if !NL_NO_AUTO_ACK 2008-10-20 13:12:13 +02:00
nexthop.c Remove NL_DUMP_ENV code 2010-10-20 15:32:45 +02:00
pktloc.c Packet Location Interface 2010-07-02 14:06:59 +02:00
pktloc_grammar.l Packet Location Interface 2010-07-02 14:06:59 +02:00
pktloc_syntax.y Packet Location Interface 2010-07-02 14:06:59 +02:00
qdisc.c Unified TC attributes interface 2010-10-26 12:54:33 +02:00
qdisc_api.c Thread-safe error handling 2008-05-14 17:49:44 +02:00
qdisc_obj.c Unified TC attributes interface 2010-10-26 12:54:33 +02:00
route.c Add internal wait_for_ack() which only waits for ACK if !NL_NO_AUTO_ACK 2008-10-20 13:12:13 +02:00
route_obj.c Remove NL_DUMP_ENV code 2010-10-20 15:32:45 +02:00
route_utils.c Big routing code rework (API/ABI BREAK!) 2008-04-29 23:31:30 +02:00
rtnl.c restructure module documentation order 2008-12-10 18:12:30 +01:00
rule.c Remove NL_DUMP_ENV code 2010-10-20 15:32:45 +02:00
tc.c Unified TC attributes interface 2010-10-26 12:54:33 +02:00