Ralph Sennhauser
a8af97b8fa
build: support for Linux 4.10
...
Commit 613dbd95723aee7abd16860745691b6c7bda20dc (netfilter:
x_tables: move hook state into xt_action_param structure) changes the
struct xt_action_param, accommodate for it.
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com >
2017-01-04 02:40:41 +01:00
Jan Engelhardt
04d8ebe31c
build: remove support for Linux 2.6.23
2012-10-16 04:16:56 +02:00
Jan Engelhardt
ec97cd6d89
build: add missing linux/version.h includes where needed
...
Reported-by: Sergei Zhirikov <sfzhi@yahoo.com >
References: http://marc.info/?l=netfilter-devel&m=131404939007827&w=2
2011-08-28 19:45:39 +02:00
Jan Engelhardt
db76ea9a5c
xt_iface: allow matching against incoming/outgoing interface
2010-10-31 01:53:23 +02:00
Jan Engelhardt
6733265358
xt_iface: reorder code for upcoming address checking
...
From now on, info->flags lists the flags to test, not just the flags
to test positively for.
2010-10-24 18:13:28 +02:00
Jan Engelhardt
f757049112
xt_iface: reduce indent by early return
2010-10-24 16:35:12 +02:00
Jan Engelhardt
9a18a05d02
compat_xtables: move to 2.6.35 xt_action_param (2/3)
2010-05-13 19:45:52 +02:00
Jan Engelhardt
5b472be9bb
compat_xtables: move to 2.6.35 xt_action_param (1/3)
2010-05-13 19:28:37 +02:00
Jan Engelhardt
1a17ed6a45
modules: strip unneeded XT_ALIGN from matchsize/targetsize
...
The x_tables kernel part already does calculate it.
2010-03-16 23:34:25 +01:00
Jan Engelhardt
39655fe83b
iface: fix compilation with <= 2.6.27
...
Need to include compat_xtables.h to get all the definitions for older
kernels.
Also, net namespaces are not available before 2.6.24.
2009-04-30 19:41:31 +02:00
Jan Engelhardt
9df309a14a
iface: remove unused .data field
...
Neither is it anywhere used, but compat_xtables does not provide it
either.
2009-04-28 10:04:36 +02:00
Jan Engelhardt
e89c5d976a
iface: move private struct xt_iface_flag_pairs to .c file
2009-04-27 20:46:09 +02:00
Jan Engelhardt
be2061c520
iface: constify data arrays
2009-04-26 22:13:05 +02:00
Jan Engelhardt
3f96deb0f0
iface: remove define for internal array size
...
The macro was only used inside kernel code and not relevant to
user-space anyway.
2009-04-26 22:07:53 +02:00
Jan Engelhardt
6d8ce3acae
iface: dissolve module name/revision macros
...
The module name will unlikely be changing anytime soon. And if the
revision increases, we cannot just bump the number (well, in
Xtables-addons we can, but it would not be the case for the core
kernel). So let's not get into bad habits.
2009-04-26 22:07:43 +02:00
Jan Engelhardt
6799806300
iface: use NFPROTO_*
2009-04-26 21:59:41 +02:00
Jan Engelhardt
0d36136f54
iface: some command decoupling
2009-04-26 21:56:53 +02:00
Jan Engelhardt
e1fc5f2086
iface: remove redundant parentheses
2009-04-26 21:56:25 +02:00
Jan Engelhardt
1aae519356
iface: remove DEBUGP
2009-04-05 10:59:12 +02:00
Jan Engelhardt
af5823b407
iface: remove redundant functions
2009-04-05 10:50:45 +02:00
Jan Engelhardt
9b198fe6e7
iface: import version 20081029
2009-04-05 10:37:05 +02:00