History log of /external/iproute2/tc/tc_filter.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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_filter.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_filter.c
05fb9184f2129c50cd0e406e9eda80509307af25 27-Jul-2011 Florian Westphal <fw@strlen.de> tc: filter: fix default 'protocol all' on little-endian platforms

when specifiying filters without 'protocol' keyword, tc will
default to 'protocol all'.

Unfortunately, this missed a byte-ordering conversion.
/external/iproute2/tc/tc_filter.c
3a99df7074b7840b0383d90f56243d5b9e93547a 13-Oct-2008 Stephen Hemminger <stephen.hemminger@vyatta.com> tc filter help should just print usage

Doing tc filter help should end argument processing.
This prevents extraneous messages. Reported by Marcela Maslanova
/external/iproute2/tc/tc_filter.c
ae76106841d764fc64188e78f5c2a2575fba725e 23-Jun-2008 Patrick McHardy <kaber@trash.net> tc: don't set protococol field on filter delete

> # tc filter show dev eth1 | grep 4:29:d1
> filter parent 1: protocol ip pref 5 u32 fh 4:29:d1 order 209 key ht 4
> bkt 29 flowid 1:b7aa
>
> # tc filter del dev eth1 parent 1: pref 5 handle 4:29:d1 u32
> RTNETLINK answers: Invalid argument
> We have an error talking to the kernel
>
> after rollback to package"sys-apps/iproute2-2.6.24.20080108" all
> deleted normal...

The current iproute version uses "protocol all" by default
if its not specified. This is actually only useful for creating
new filters, on deletion an unset protocol is treated as wildcard.
/external/iproute2/tc/tc_filter.c
eefcbc72062a235efe391163962f7353dba1af4c 20-Apr-2008 jamal <hadi@cyberus.ca> Expose the filter protocol

makes protocol accessible ..

cheers,
jamal

[PATCH 2/3] [TC/FILTERS] Expose the filter protocol

Expose the filter protocol so it can be used by underlying
classifiers when they need it.

Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca>
/external/iproute2/tc/tc_filter.c
083a5f00a15f6506815b0da2be82e7be761c5cbc 26-Mar-2008 Patrick McHardy <kaber@trash.net> Fix classifier help

commit c504ffd627ac211eebf5ed34ef0fbfd7f1dbb347
Author: Patrick McHardy <kaber@trash.net>
Date: Wed Mar 26 07:38:43 2008 +0100

[IPROUTE]: Fix classifier help

The new check whether the user has specified a protocol makes
"ip filter <type> help" fails with "protocol is required".

This could be fixed by moving it further down, but a more user-friendly
way it to simply use ETH_P_ALL as default if nothing is specified.

Signed-off-by: Patrick McHardy <kaber@trash.net>
/external/iproute2/tc/tc_filter.c
de33a4305563c3a3d6ee92193a65b9be9fc928a2 08-Feb-2008 Stephen Hemminger <stephen.hemminger@vyatta.com> Protocol field on tc_filter is required

Kernel won't find matching filter if protocol value not
provided.
/external/iproute2/tc/tc_filter.c
dcb283c300299d79a37fd386ea854b156fd503c5 20-Jun-2007 Thomas Graf <tgraf@suug.ch> iproute2: Support IFF_LOWER_UP and IFF_DORMANT

In order to support these new flags add current
linux/if.h into the directory with the local copies.
This caused troubles with outdated redefinitions from net/if.h
so I've removed the dependency on it.

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
/external/iproute2/tc/tc_filter.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_filter.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_filter.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_filter.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_filter.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_filter.c
c1027a759bb9e08ea5711ea8bc7f86ec49062951 14-Mar-2005 site!shemminger <site!shemminger> Fix batch mode handle usage.

(Logical change 1.169)
/external/iproute2/tc/tc_filter.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_filter.c
024481bbe1f50831fdbccd9b98f10efca84ae95c 14-Mar-2005 osdl.net!shemminger <osdl.net!shemminger> Style fix.

2005/03/10 12:23:54-08:00 net[shemminger]!shemminger
Import patch iproute-batch.1.050209.patch

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

(Logical change 1.107)
/external/iproute2/tc/tc_filter.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_filter.c
de481780a582f2800a6398296f2ca8269a3ddcfb 31-Aug-2004 osdl.net!shemminger <osdl.net!shemminger> handle new tcstats

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

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

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