Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Unified TC API | Thomas Graf | 2011-03-21 | 1 | -228/+0 |
| | | | | | | | | 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. | ||||
* | Unified TC attributes interface | Thomas Graf | 2010-10-26 | 1 | -32/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | - Reworked the classifier interface. | Thomas Graf | 2009-09-02 | 1 | -6/+53 |
| | | | | | | - Added initial ematch support - Added support for the basic classifier - Added support for the cgroup classifier | ||||
* | Error handling for rtnl_cls_set_kind() & addition of rtnl_cls_get_ops() | Thomas Graf | 2008-10-15 | 1 | -1/+11 |
| | |||||
* | Use 16bit ints for classifier prio/protocol | Thomas Graf | 2008-10-15 | 1 | -4/+4 |
| | |||||
* | Remove old line counting while dumping | Thomas Graf | 2008-05-23 | 1 | -29/+22 |
| | |||||
* | Initial import | Thomas Graf | 2007-09-14 | 1 | -0/+203 |