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_class.c
|
d954b34a1f8d883cce7e4b2f9e016d4f69a09ef2 |
|
26-Dec-2014 |
Vadim Kochan <vadim4j@gmail.com> |
tc class: Show classes as ASCII graph Added new '-g[raph]' option which shows classes in the graph view. Meanwhile only generic stats info output is supported. e.g.: $ tc/tc -g class show dev tap0 +---(1:2) htb rate 6Mbit ceil 6Mbit burst 15Kb cburst 1599b | +---(1:40) htb prio 0 rate 5Mbit ceil 5Mbit burst 15Kb cburst 1600b | +---(1:50) htb rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b | | +---(1:51) htb prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b | | | +---(1:60) htb prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b | +---(1:1) htb rate 6Mbit ceil 6Mbit burst 15Kb cburst 1599b +---(1:10) htb prio 0 rate 5Mbit ceil 5Mbit burst 15Kb cburst 1600b +---(1:20) htb prio 0 rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b +---(1:30) htb prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b $ tc/tc -g -s class show dev tap0 +---(1:2) htb rate 6Mbit ceil 6Mbit burst 15Kb cburst 1599b | | Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) | | rate 0bit 0pps backlog 0b 0p requeues 0 | | | +---(1:40) htb prio 0 rate 5Mbit ceil 5Mbit burst 15Kb cburst 1600b | | Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) | | rate 0bit 0pps backlog 0b 0p requeues 0 | | | +---(1:50) htb rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b | | | Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) | | | rate 0bit 0pps backlog 0b 0p requeues 0 | | | | | +---(1:51) htb prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b | | Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) | | rate 0bit 0pps backlog 0b 0p requeues 0 | | | +---(1:60) htb prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b | Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) | rate 0bit 0pps backlog 0b 0p requeues 0 | +---(1:1) htb rate 6Mbit ceil 6Mbit burst 15Kb cburst 1599b | Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) | rate 0bit 0pps backlog 0b 0p requeues 0 | +---(1:10) htb prio 0 rate 5Mbit ceil 5Mbit burst 15Kb cburst 1600b | Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) | rate 0bit 0pps backlog 0b 0p requeues 0 | +---(1:20) htb prio 0 rate 3Mbit ceil 6Mbit burst 15Kb cburst 1599b | Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) | rate 0bit 0pps backlog 0b 0p requeues 0 | +---(1:30) htb prio 0 rate 1Kbit ceil 6Mbit burst 15Kb cburst 1599b Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) rate 0bit 0pps backlog 0b 0p requeues 0 Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
/external/iproute2/tc/tc_class.c
|
3d0b7439dfac96d93386295a4c961b89bd3d8463 |
|
21-Dec-2014 |
Stephen Hemminger <shemming@brocade.com> |
whitespace cleanup Remove all trailing whitespace and space before tabs.
/external/iproute2/tc/tc_class.c
|
9bea14ff6b64f3fe56af2d93ca70ac56b355027e |
|
30-Oct-2013 |
Nigel Kukard <nkukard@lbsd.net> |
Fix tc stats when using -batch mode There are two global variables in tc/tc_class.c: __u32 filter_qdisc; __u32 filter_classid; These are not re-initialized for each line received in -batch mode: class show dev eth0 parent 1: classid 1:1 class show dev eth0 parent 1: classid 1:1 Error: duplicate "classid": "1:1" is the second value. This patch fixes the issue by initializing the two globals when we enter print_class(). Signed-off-by: Nigel Kukard <nkukard@lbsd.net>
/external/iproute2/tc/tc_class.c
|
d1f28cf181a6f77f230d90267eef0ecfbcb25f30 |
|
12-Feb-2013 |
Stephen Hemminger <stephen@networkplumber.org> |
ip: make local functions static
/external/iproute2/tc/tc_class.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_class.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_class.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_class.c
|
f4a8b23d39813b5f839b9bd6ba780544fa803428 |
|
27-May-2009 |
Denys Fedoryshchenko <denys@visp.net.lb> |
Filter class output by classid Sometimes while dividing bandwidth by classes it is useful to see how some specific class doing things live. Which my simple patch it is possible to do watch -n1 "tc -s -d class show dev eth0.2022 classid 1:1520" and to get live statistics, how packets queued or dropped, and how much bandwidth used (if estimator defined) for specific class. Signed-off-by: Denys Fedoryshchenko <denys@visp.net.lb>
/external/iproute2/tc/tc_class.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_class.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_class.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_class.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_class.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_class.c
|
7e6b809cb96ace7e310935bacb3309b819cd762b |
|
11-Mar-2006 |
shemminger <shemminger> |
Make error message better on tc with wrong args.
/external/iproute2/tc/tc_class.c
|
c1027a759bb9e08ea5711ea8bc7f86ec49062951 |
|
14-Mar-2005 |
site!shemminger <site!shemminger> |
Fix batch mode handle usage. (Logical change 1.169)
/external/iproute2/tc/tc_class.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_class.c
|
b611d516d8c00708f7f297021b72e1f5290349eb |
|
14-Mar-2005 |
osdl.net!shemminger <osdl.net!shemminger> |
Style fix. 2005/03/10 12:23:43-08:00 net[shemminger]!shemminger Import patch iproute-batch.1.050209.patch (Logical change 1.162)
/external/iproute2/tc/tc_class.c
|
e5879dc603ca2e9f27ca6d754fdf5e20f8072344 |
|
08-Dec-2004 |
ch[shemminger]!tgraf <ch[shemminger]!tgraf> |
iproute2: gnet_stats (Logical change 1.107)
/external/iproute2/tc/tc_class.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_class.c
|
2c5474ada299d8a98b82944d3bc0a7117948ecd0 |
|
31-Aug-2004 |
osdl.net!shemminger <osdl.net!shemminger> |
Use common code to print tcstats (Logical change 1.78)
/external/iproute2/tc/tc_class.c
|
6dc9f016347441fbf94cf851c054b0f45ba32c1c |
|
31-Aug-2004 |
osdl.net!shemminger <osdl.net!shemminger> |
make all filtering handles take const args. (Logical change 1.77)
/external/iproute2/tc/tc_class.c
|
d81b135b6f659900c0a51ca1a733c165e49aaaec |
|
23-Aug-2004 |
net[shemminger]!shemminger <net[shemminger]!shemminger> |
Import patch jamal-p1 (Logical change 1.70)
/external/iproute2/tc/tc_class.c
|
2373fde9b0ba14c1758290a68332f1af9882abc0 |
|
14-Aug-2004 |
osdl.net!shemminger <osdl.net!shemminger> |
new stuff from jamal. (Logical change 1.66)
/external/iproute2/tc/tc_class.c
|
aba5acdfdb347d2c21fc67d613d83d4430ca3937 |
|
15-Apr-2004 |
osdl.org!shemminger <osdl.org!shemminger> |
(Logical change 1.3)
/external/iproute2/tc/tc_class.c
|
86fdf0e47be697587efcf9602cd1f952a1d73170 |
|
15-Apr-2004 |
osdl.org!shemminger <osdl.org!shemminger> |
Initial revision
/external/iproute2/tc/tc_class.c
|