History log of /external/iproute2/tc/tc_qdisc.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8f9afdd531560c1534be44424669add2e19deeec 12-Jan-2016 Daniel Borkmann <daniel@iogearbox.net> tc, clsact: add clsact frontend

Add the tc part for the kernel commit 1f211a1b929c ("net, sched: add
clsact qdisc"). Quoting example usage from that commit description:

Example, adding qdisc:

# tc qdisc add dev foo clsact
# tc qdisc show dev foo
qdisc mq 0: root
qdisc pfifo_fast 0: parent :1 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: parent :2 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: parent :3 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: parent :4 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc clsact ffff: parent ffff:fff1

Adding filters (deleting, etc works analogous by specifying ingress/egress):

# tc filter add dev foo ingress bpf da obj bar.o sec ingress
# tc filter add dev foo egress bpf da obj bar.o sec egress
# tc filter show dev foo ingress
filter protocol all pref 49152 bpf
filter protocol all pref 49152 bpf handle 0x1 bar.o:[ingress] direct-action
# tc filter show dev foo egress
filter protocol all pref 49152 bpf
filter protocol all pref 49152 bpf handle 0x1 bar.o:[egress] direct-action

The ingress parent alias can also be used with ingress qdisc.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
/external/iproute2/tc/tc_qdisc.c
0d45c4b420375a5c71d5af08ca4374c9f775372e 12-Jan-2016 Daniel Borkmann <daniel@iogearbox.net> tc, ingress: clean up ingress handling a bit

Clean it up a bit, we can also get rid of some ugly ifdefs as in our case
TC_H_INGRESS is always defined.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
/external/iproute2/tc/tc_qdisc.c
c079e121a73af5eb49e003b13607e8a690331df6 27-May-2015 Stephen Hemminger <shemming@brocade.com> libnetlink: add size argument to rtnl_talk

There have been several instances where response from kernel
has overrun the stack buffer from the caller. Avoid future problems
by passing a size argument.

Also drop the unused peer and group arguments to rtnl_talk.
/external/iproute2/tc/tc_qdisc.c
3d0b7439dfac96d93386295a4c961b89bd3d8463 21-Dec-2014 Stephen Hemminger <shemming@brocade.com> whitespace cleanup

Remove all trailing whitespace and space before tabs.
/external/iproute2/tc/tc_qdisc.c
0a502b21e30be835dcad8d9c6023a41da8709eb1 27-Oct-2013 Stephen Hemminger <stephen@networkplumber.org> Fix handling of qdis without options

Some qdisc like htb want the parse_qopt to be called even if no options
present. Fixes regression caused by:

e9e78b0db0e023035e346ba67de838be851eb665 is the first bad commit
commit e9e78b0db0e023035e346ba67de838be851eb665
Author: Stephen Hemminger <stephen@networkplumber.org>
Date: Mon Aug 26 08:41:19 2013 -0700

tc: allow qdisc without options
/external/iproute2/tc/tc_qdisc.c
e9e78b0db0e023035e346ba67de838be851eb665 26-Aug-2013 Stephen Hemminger <stephen@networkplumber.org> tc: allow qdisc without options

Pfifo_fast needs no options. So don't force it to have parsing code.
/external/iproute2/tc/tc_qdisc.c
d1f28cf181a6f77f230d90267eef0ecfbcb25f30 12-Feb-2013 Stephen Hemminger <stephen@networkplumber.org> ip: make local functions static
/external/iproute2/tc/tc_qdisc.c
f1675d615bbf0807b597c982abee4027bb804cb7 16-Aug-2012 Dan Kenigsberg <danken@redhat.com> utils: invarg: msg precedes the faulty arg

fix all call which reversed the arg order.

Signed-off-by: Dan Kenigsberg <danken@redhat.com>
/external/iproute2/tc/tc_qdisc.c
ff24746cca1ef0c92d46614158e6672acd6b63d3 10-Apr-2012 Stephen Hemminger <shemminger@vyatta.com> Convert to use rta_getattr_ functions

User new functions (inspired by libmnl) to do type safe access
of routeing attributes
/external/iproute2/tc/tc_qdisc.c
cd70f3f522e04b4d2fa80ae10292379bf223a53b 28-Dec-2011 Stephen Hemminger <shemminger@vyatta.com> libnetlink: remove unused junk callback

Both rtnl_talk and rtnl_dump had a callback for handling portions
of netlink message that do not match the correct pid or seq.
But this callback was never used by any part of iproute2 so remove
it.
/external/iproute2/tc/tc_qdisc.c
839c8456fbe08fc2497857673805b84dffb45507 25-Jul-2008 Jussi Kivilinna <jussi.kivilinna@mbnet.fi> add generic size table for qdiscs

Patch adds generic size table that is similiar to rate table, with
difference that size table stores link layer packet size.

Based on patch by Patrick McHardy
http://marc.info/?l=linux-netdev&m=115201979221729&w=2

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
/external/iproute2/tc/tc_qdisc.c
e5d179d81594e12c873d0b9ae19e09dced368e8a 10-Dec-2006 Hasso Tepper <hasso@estpak.ee> Fixes for tc help commands

* "tc [class|qdisc|filter] get" doesn't exist, remove it from inline help.

* Add "replace" to "tc [class|filter] get" inline help.

* Fix "tc [class|qdisc|filter] help" output:

~$ tc class help
[snip]
Command "help" is unknown, try "tc class help".
~$

with my best wishes,

--
Hasso Tepper
Elion Enterprises Ltd. [AS3249]
Data Communication Network Administrator

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
/external/iproute2/tc/tc_qdisc.c
ae665a522bd46bea44c5ea84c89c8b1731954170 05-Dec-2006 Stephen Hemminger <shemminger@osdl.org> Remove trailing whitespace

Go through source files and remove all trailing whitespace

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
/external/iproute2/tc/tc_qdisc.c
302d3fb720d920ca15b7bfb979532cc0e5d7f20f 26-Sep-2006 Stephen Hemminger <shemminger@osdl.org> More TC patches from Jamal.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
/external/iproute2/tc/tc_qdisc.c
5bec34845bba39dfc1efb409ebc2b158a9f0fbc4 08-Aug-2006 Jamal Hadi Salim <hadi@cyberus.ca> This patch adds ability to monitor tc events similar to ipmonitor.
User runs "tc monitor" (without quotes) and watches events of
addition, deletion and updates from qdiscs, classes, filters and
actions as they happen.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
/external/iproute2/tc/tc_qdisc.c
e81c1a22cd2408a8b490ce39bf6ece2d19919a3b 04-Aug-2006 Jesper Dangaard Brouer <jdb@comx.dk> Trivial correction to the usage text.
- Remove the parameter "get" as it is not implemented.
- Add the parameter "replace".
/external/iproute2/tc/tc_qdisc.c
f453a0d451706555690673e12b70069d84d5cf01 07-Oct-2005 shemminger <shemminger> Fix tc pfifo_fast with options
/external/iproute2/tc/tc_qdisc.c
c1027a759bb9e08ea5711ea8bc7f86ec49062951 14-Mar-2005 site!shemminger <site!shemminger> Fix batch mode handle usage.

(Logical change 1.169)
/external/iproute2/tc/tc_qdisc.c
7901660a0de70528c50e812f76df9ba224680258 14-Mar-2005 osdl.net!shemminger <osdl.net!shemminger> change how netlink socket is handled for batch mode.

(Logical change 1.166)
/external/iproute2/tc/tc_qdisc.c
11656f1bb4d1c65ca4488890f2c875cfc2f6e9f9 14-Mar-2005 osdl.net!shemminger <osdl.net!shemminger> Style fix.

2005/03/04 18:46:32-08:00 net[shemminger]!shemminger
Import patch iproute-batch.1.050209.patch

(Logical change 1.162)
/external/iproute2/tc/tc_qdisc.c
e5879dc603ca2e9f27ca6d754fdf5e20f8072344 08-Dec-2004 ch[shemminger]!tgraf <ch[shemminger]!tgraf> iproute2: gnet_stats

(Logical change 1.107)
/external/iproute2/tc/tc_qdisc.c
50772dc51ac02239958e1ebcdb21277fcdf133a7 07-Dec-2004 osdl.net!shemminger <osdl.net!shemminger> Add ip rule flush capabilty and fix all the prototype changes
because of that code rewrites the nlmsghdr.

(Logical change 1.106)
/external/iproute2/tc/tc_qdisc.c
e914a5c41afc9d7eb22835080ffbdc2c7c338e64 29-Sep-2004 osdl.net!shemminger <osdl.net!shemminger> reqs was rejected by kernel due to possible API breakage.

(Logical change 1.91)
/external/iproute2/tc/tc_qdisc.c
035d16d59435f764cf2b24a290f31736d1ce3f34 31-Aug-2004 osdl.net!shemminger <osdl.net!shemminger> Fix typo in requeues

(Logical change 1.78)
/external/iproute2/tc/tc_qdisc.c
649b0755ccce0f17a04fdbc37c93166fa6612edb 31-Aug-2004 osdl.net!shemminger <osdl.net!shemminger> Handle new/old API and new additions to tc_stats.

2004/08/29 10:20:25-07:00 net[shemminger]!shemminger
Import patch reqs-patch-iproute2-2.6.8

(Logical change 1.77)
/external/iproute2/tc/tc_qdisc.c
f307c24e2fa521616db1a0f83774749744c31dd3 23-Aug-2004 osdl.net!shemminger <osdl.net!shemminger> Auto merged

2004/08/11 14:27:34-07:00 osdl.net!shemminger
Increase size of netlink buffer.

(Logical change 1.71)
/external/iproute2/tc/tc_qdisc.c
d81b135b6f659900c0a51ca1a733c165e49aaaec 23-Aug-2004 net[shemminger]!shemminger <net[shemminger]!shemminger> Import patch jamal-p1

(Logical change 1.70)
/external/iproute2/tc/tc_qdisc.c
2373fde9b0ba14c1758290a68332f1af9882abc0 14-Aug-2004 osdl.net!shemminger <osdl.net!shemminger> new stuff from jamal.

(Logical change 1.66)
/external/iproute2/tc/tc_qdisc.c
aba5acdfdb347d2c21fc67d613d83d4430ca3937 15-Apr-2004 osdl.org!shemminger <osdl.org!shemminger> (Logical change 1.3)
/external/iproute2/tc/tc_qdisc.c
86fdf0e47be697587efcf9602cd1f952a1d73170 15-Apr-2004 osdl.org!shemminger <osdl.org!shemminger> Initial revision
/external/iproute2/tc/tc_qdisc.c