summaryrefslogtreecommitdiffstats
path: root/lib/route/sch/htb.c
Commit message (Collapse)AuthorAgeFilesLines
* rename sch -> qdiscThomas Graf2011-03-211-433/+0
|
* Unified TC APIThomas Graf2011-03-211-202/+168
| | | | | | | | 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.
* provide function to retrieve htb rateThomas Graf2011-03-171-0/+9
|
* Rename nl_get_hz() to nl_get_user_hz() to indicate it's not the in-kernel HZ ↵Thomas Graf2010-11-171-2/+2
| | | | value
* Unified TC attributes interfaceThomas Graf2010-10-261-107/+29
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* Update include/linux header copiesThomas Graf2010-10-211-18/+8
| | | | | Adapts ratespec code taking into account that the kernel now takes care of overhead calculations.
* HTB: Append TCA_OPTIONS even if no options are setThomas Graf2010-10-191-7/+7
| | | | | The kernel requires the TCA_OPTIONS{TCA_HTB_INIT} attribute to be present even if the default values are to be used.
* Remove old line counting while dumpingThomas Graf2008-05-231-33/+26
|
* Initial importThomas Graf2007-09-141-0/+553