History log of /external/iproute2/tc/m_xt.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/m_xt.c
8e91a80d975d4086178158214d35af793695b614 01-Jun-2011 Jan Engelhardt <jengelh@medozas.de> iproute2: fix calling up the xt action

Upsteam: has not been sent yet

Requesting the xt action never succeeded because it registered
using the wrong name.
/external/iproute2/tc/m_xt.c
4f3626f9206b8a23637a3c36ec28db1e895850d4 31-Aug-2011 Dan McGee <dan@archlinux.org> xt: only unset fields if m is non NULL
/external/iproute2/tc/m_xt.c
be181323c1724e6a5e3b296816d00d9151ae65ff 13-Jul-2011 Stephen Hemminger <shemminger@vyatta.com> Remove redundant limits.h

redo.
/external/iproute2/tc/m_xt.c
73de5d96804160e3e399bd81b135053f70b27e7b 04-Jul-2011 Andreas Henriksson <andreas@fatal.se> iproute2: Fix building xt module against xtables version 6

iptables/xtables apparently changed API again.... Now you need to pass
and extra parameter (orig_opts) which was not needed before.

Sprinkle some lovely pre-processor magic to be compatible with both older
and new versions. In the beginning of times XTABLES_VERSION_CODE didn't
exist. Then it was (0x10000 * major + 0x100 * minor + patch) when it was
first introduced (according to git), but now it's at 6...
Don't know what official iptables releases has defined it to over time.
Lets just hope none of the older versions with is has the define
higher then 6 is still around.... so only the "current" versioning
scheme is supported.... lets see how long this lasts now.

For the API change in xtables, see:
http://git.netfilter.org/cgi-bin/gitweb.cgi?p=iptables.git;a=commitdiff;h=600f38db82548a683775fd89b6e136673e924097

Signed-off-by: Andreas Henriksson <andreas@fatal.se>
/external/iproute2/tc/m_xt.c
49dff8c88c7a5d448bcce2ed2c42dd5d542b82c3 30-Jun-2011 Stephen Hemminger <shemminger@vyatta.com> xt match: fix set-never-used warning
/external/iproute2/tc/m_xt.c
be3c4d4f3c14875e459d27b8b095e29af8591489 21-Nov-2010 Mike Frysinger <vapier@gentoo.org> m_xt: stop using xtables_set_revision()

iptables dropped the xtables_set_revision() function around version 1.4.9,
so set the rev directly ourselves. This should be compatible back to the
original version m_xt itself is designed for.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
/external/iproute2/tc/m_xt.c
609ceb807deba8e23455ceca3a1fab3f61b345d1 30-Mar-2010 Stephen Hemminger <stephen.hemminger@vyatta.com> Workaround missing ALIGN() macro

XT_ALIGN() calls ALIGN macro but ALIGN is in kernel source not userspace.
/external/iproute2/tc/m_xt.c
a36ceb85d7ae6a9742c35417e80ae837ce9f146d 02-Dec-2009 Andreas Henriksson <andreas@fatal.se> Add new (iptables 1.4.5 compatible) tc/ipt/xt module.

Add a new cleaned up m_xt.c based on m_xt_old.c
The new m_xt.c has been updated to use the new names and new api
that xtables exposes in iptables 1.4.5.
All the old internal api cruft has also been dropped.

Additionally, a configure script test is added to check for
the new xtables api and set the TC_CONFIG_XT flag in Config.
(tc/Makefile already handles this flag in previous commit.)

Signed-off-by: Andreas Henriksson <andreas@fatal.se>
/external/iproute2/tc/m_xt.c
80d689d055b2169b390a7cd4ca2c01ba871d02a2 02-Dec-2009 Andreas Henriksson <andreas@fatal.se> Keep the old tc/ipt/xt module for compatibility.

Move the file and rename the configure flags.
The file is being kept around for iptables < 1.4.5 compatibility.

Signed-off-by: Andreas Henriksson <andreas@fatal.se>
/external/iproute2/tc/m_xt.c
05b4f8492b1f605e78e7ff961cb165a475f456bc 04-Nov-2009 Mike Frysinger <vapier@gentoo.org> tc: remove dlfcn.h from files that dont need it

A bunch of source files look like they're copy & pasted from other files,
and some include header files that they don't actually need. Since dlfcn
has very specific usage (and is a pain on a static-only system), drop it
where it isn't really needed.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
/external/iproute2/tc/m_xt.c
52d6a850505d70a699fc89604986c45b0cd0c54e 27-Mar-2009 Stephen Hemminger <stephen.hemminger@vyatta.com> remove duplicate limits.h
/external/iproute2/tc/m_xt.c
44e50c8e7866d5edf6b369ccea51d147d029238c 02-Mar-2009 Stephen Hemminger <stephen.hemminger@vyatta.com> Add missing limits.h

Need limits.h to get INT_MIN on Debian
/external/iproute2/tc/m_xt.c
63c7d26f941df1c7aa4a18bac5b3a777bc66216a 07-Feb-2009 Jamal Hadi Salim <hadi@cyberus.ca> Breakage noticed when debian upgraded to xtables (iptables > 1.4.1)

Many thanks to Yevgeny Kosarzhevsky <yevg@pisem.net> for reporting
and a lot of testing

Thanks to Jan Engelhardt <jengelh@medozas.de> for a lot of advice
Thanks to Denys Fedoryschenko <denys@visp.net.lb> for some sample
code that he tried and thanks to Andreas Henriksson <andreas@fatal.se>
(who maintains iproute2 on debian) for the persistent followup.

Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca>
/external/iproute2/tc/m_xt.c