History log of /external/iptables/include/xtables.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
efcdba41ca6bde51c8753cb30c869c370f0a3b93 28-Jan-2013 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> Introduce match/target aliases

The match/target alias allows us to support the syntax of matches, targets
targets merged into other matches/targets.
/external/iptables/include/xtables.h
2f655ede64e07a861e3ec50150f572ed98755013 29-Oct-2012 Pablo Neira Ayuso <pablo@netfilter.org> libxtables: add xtables_print_num

This function is used both by iptables and ip6tables, and
refactorize to avoid longer than 80-chars per column lines
of code.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
/external/iptables/include/xtables.h
d1e7922a587a239e16e0dbe654e63f76e1375e49 04-Jan-2013 Pablo Neira Ayuso <pablo@netfilter.org> libxtables: add xtables_rule_matches_free

This function is shared by iptables and ip6tables.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
/external/iptables/include/xtables.h
c436dad7cfdd80ca4a05ceed556c39babc266f55 27-Sep-2012 Jan Engelhardt <jengelh@inai.de> iptables: support for match aliases

This patch allows for match names listed on the command line to be
rewritten to new names and revisions, like we did for targets before.

Signed-off-by: Jan Engelhardt <jengelh@inai.de>
/external/iptables/include/xtables.h
cd2f9bdbb7f9b737e5d640aafeb78bcd8e3a7adf 04-Sep-2012 Jan Engelhardt <jengelh@inai.de> iptables: support for target aliases

This patch allows for target names listed on the command line to be
rewritten to new names and revisions.

As before, we will pick a revision that is supported by the kernel - now
including real_name in the search. This gives us the possibility to test
for many action names.

Signed-off-by: Jan Engelhardt <jengelh@inai.de>
/external/iptables/include/xtables.h
df60a301bf24c3b3e37188d9da155b97fd6dc076 31-Aug-2012 Jan Engelhardt <jengelh@inai.de> build: separate AC variable replacements from xtables.h

It was/is a bit annoying that modifying xtables.h.in causes configure
to rerun. Split the @foo@ things into a separate file to bypass this.

Signed-off-by: Jan Engelhardt <jengelh@inai.de>
/external/iptables/include/xtables.h
493c712d61c35a6d8db877b208d34c111337a918 15-Apr-2008 Jan Engelhardt <jengelh@medozas.de> Dynamically create xtables.h.in with version
/external/iptables/include/xtables.h
31558608e77c9712d26c0cb7e97f20e20f459830 10-Apr-2008 Jan Engelhardt <jengelh@medozas.de> xtables.h: move non-exported parts to internal.h
/external/iptables/include/xtables.h
33690a1aec0b6309ff90066ca56285b6e43013f2 11-Feb-2008 Jan Engelhardt <jengelh@medozas.de> Fix all remaining warnings (missing declarations, missing prototypes)
/external/iptables/include/xtables.h
dbb77543ad6afe29e9a1881b2d4fc212de621a55 11-Feb-2008 Jan Engelhardt <jengelh@medozas.de> Fix -Wshadow warnings and clean up xt_sctp.h

Note: xt_sctp.h is still not merged upstream in the kernel as of
this commit. But a refactoring was really needed.
/external/iptables/include/xtables.h
a5d099400fd6f9ad3880dda10f85d2aa36b5ec65 29-Jan-2008 Max Kellermann <max@duempel.org> escape strings

Max Kellermann <max@duempel.org>
/external/iptables/include/xtables.h
bd9438420d92c41a5cf20a53b7a18d3ddea4216d 20-Jan-2008 Jan Engelhardt <jengelh@medozas.de> rename overlapping function names

Rename overlapping function names.

Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
/external/iptables/include/xtables.h
08b1616e068166e016b3ee7110db10ae5d853422 20-Jan-2008 Jan Engelhardt <jengelh@medozas.de> bunch o' renames

Move a few functions from iptables.c/ip6tables.c to xtables.c
so they are available for combined (both AF_INET and AF_INET6)
libxt modules. Rename overlapping function names.

Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
/external/iptables/include/xtables.h
aafd269675fc45bac6340027c866ea6073643c3b 20-Jan-2008 Jan Engelhardt <jengelh@medozas.de> common error messages

Error messages vary wildly among modules, and there is a lot of
reundance in it too. Introduce a helper function that does all of
the parameter checking boilerplate and gives unique messages.

Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
/external/iptables/include/xtables.h
cd9e7aa106e80c44bd526af74b616701b0772d05 20-Jan-2008 Jan Engelhardt <jengelh@medozas.de> Introduce strtonum(), which works like string_to_number(), but passes
back the 'end' pointer. It is useful where you want to do boundary
checking yet work with strings that are not entirely slurped by
strtoul(), e.g.:

s = "1/2"; /* one half */
if (!strtonum(s, &end, &value, 0, 5))
error("Zero-length string, or value out of bounds");
if (*end != '/')
error("Malformed string");
info->param1 = value;
if (!strtonum(end + 1, &end, &value, 2, 4))
error("..");
if (*end != '\0')
error("Malformed string");
info->param2 = value;

Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
/external/iptables/include/xtables.h
f82070f9871d281c2802c1624dcf222886b5fb50 20-Jan-2008 Jan Engelhardt <jengelh@medozas.de> Converts the iptables build infrastructure to autotools.

- Can build both static and dynamic at the same time

- iptables-static will be a multi-binary, semi-static
(link against libc but w/o dynamic plugins)

- Always build IPv6 modules

- consider INSTALL

Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
/external/iptables/include/xtables.h
5e9eaed23d0cf1cfdd49c88e68beb43e611f0191 17-Dec-2007 Jan Engelhardt <jengelh@medozas.de> use <linux/types.h>

Remove our own definitions of the Linux types and use <linux/types.h>
instead. libiptc needs it too, or otherwise will choke on union
nf_inet_addr.

Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
/external/iptables/include/xtables.h
0b63936140032deac44072951451bdf47b54296a 08-Sep-2007 Patrick McHardy <kaber@trash.net> Fix more sparse warnings: non-C99 array declaration, incorrect function prototypes
/external/iptables/include/xtables.h
c329d6a7085e3123f3d5ca98a8e0ab37edca2dcc 05-Sep-2007 Patrick McHardy <kaber@trash.net> Fix aligned_u64 type on 64 bit: its an unsigned long, not an unsigned long long.
Fixes compiler warning in quota match.
/external/iptables/include/xtables.h
ea146a982e26c42f9954f140276f8deeb2edbe98 02-Sep-2007 Peter Riley <Peter.Riley@hotpop.com> Remove last vestiges of NFC (Peter Riley <Peter.Riley@hotpop.com>)
/external/iptables/include/xtables.h
d884051d7dfa51ebe1a37e343af516b1bba6943d 01-Aug-2007 Jan Engelhardt <jengelh@medozas.de> Make @msg argument a const char *, just like printf().

Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
/external/iptables/include/xtables.h
3365332f89bd0fa65cea60a38e46a20346ba9964 30-Jul-2007 Jan Engelhardt <jengelh@medozas.de> Make xtables_target->extra_opts const (xtables_match->extra_opts already is)

Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
/external/iptables/include/xtables.h
a3732db1280f790b8e26b41bdcbe8b5f92b7f51b 24-Jul-2007 Yasuyuki KOZAKAI <yasuyuki@netfilter.org> Moves all declarations in iptables_common.h to xtables.h.
/external/iptables/include/xtables.h
5cd1ff53a500256997519ec1d871750773c44803 24-Jul-2007 Yasuyuki KOZAKAI <yasuyuki@netfilter.org> Moves IPPROTO_* and IP[6]T_LIB_DIR definitions to xtables.h
/external/iptables/include/xtables.h
04f8c54dc52e19096d31d94593bd1040716afe4d 24-Jul-2007 Yasuyuki KOZAKAI <yasuyuki@netfilter.org> Moves some duplicated functions in ip[6]tables.c to xtables.c

string_to_number_ll, string_to_number_l, string_to_number,
service_to_port, parse_port, parse_interface, are moved.
/external/iptables/include/xtables.h
0d502bcdbc97ed359e84f6a21dfa0049b3b60a6c 24-Jul-2007 Yasuyuki KOZAKAI <yasuyuki@netfilter.org> Introduces xtables match/target registration

- moves lib_dir to xtables.c
- introduces struct pfinfo which has protocol family dependent infomations.
- unifies load_ip[6]tables_ko() and moves them as load_xtables_ko()
- introduces xt_{match,match_rule,target,tryload} and replaces
ip[6]t_* with them
- unifies following functions and move them to xtables.c
- find_{match,find_target}
- compatible_revision, compatible_{match,target}_revision
- introduces xtables_register_{match,target} and make
register_{match,target}[6] call them. xtables_register_* register ONLY
matches/targets matched protocol family

Some concepts:
- source compatibility for libip[6]t_xxx.c with warning on compilation
not binary compatibility.
- binary compatibility between 2.4/2.6 kernel and iptables/ip6tables,
of cause.
- xtables is enough to support only one address family at runtime.
Then xtables keeps infomations of only the focused address famiy
in struct afinfo.
/external/iptables/include/xtables.h
0b82e8e81e887843011c8771f70d2302901f7e5e 24-Jul-2007 Yasuyuki KOZAKAI <yasuyuki@netfilter.org> Moves ip[6]tables_insmod() to xtables.c as xtables_insmod()
/external/iptables/include/xtables.h
3dfa4488b032fc32aaf2470f48ac1fc3a534794f 24-Jul-2007 Yasuyuki KOZAKAI <yasuyuki@netfilter.org> Moves common fw_malloc() and fw_calloc() to xtables.c
/external/iptables/include/xtables.h
5208806f2708f761e97e62550561e3164b541770 24-Jul-2007 Yasuyuki KOZAKAI <yasuyuki@netfilter.org> Adds xtables.[ch] and change Makefile to compile it
/external/iptables/include/xtables.h