No description
Find a file
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
doc CLI - Command Line Interface Library 2009-12-16 16:20:46 +01:00
etc classid database 2010-10-19 16:31:23 +02:00
include Unified TC attributes interface 2010-10-26 12:54:33 +02:00
lib Unified TC attributes interface 2010-10-26 12:54:33 +02:00
m4 Move to automake-based build 2009-06-23 01:24:51 +02:00
man nl-qdisc-add(8), nl-qdisc-delete(8), nl-qdisc-list(8) 2010-10-21 16:14:15 +02:00
src Unified TC attributes interface 2010-10-26 12:54:33 +02:00
tests - Reworked the classifier interface. 2009-09-02 18:31:14 +02:00
.gitignore Ignore vim swap files 2010-07-03 15:56:51 +02:00
autogen.sh Move to automake-based build 2009-06-23 01:24:51 +02:00
ChangeLog Pushed to pre8 due to wrong version string in pre7 2007-11-21 18:24:11 +01:00
configure.in classid database 2010-10-19 16:31:23 +02:00
COPYING Initial import 2007-09-15 01:28:01 +02:00
libnl-2.1.pc.in - Prepare for 2.1.x tree 2010-10-14 13:56:46 +02:00
Makefile.am classid database 2010-10-19 16:31:23 +02:00