summaryrefslogtreecommitdiffstats
path: root/net/netfilter/xt_length.c
diff options
context:
space:
mode:
authorPatrick McHardy2006-03-21 03:02:56 +0100
committerDavid S. Miller2006-03-21 03:02:56 +0100
commitc49867347404c46f137a261643ed4fce4376f324 (patch)
tree0b561e2eae19b0073435a4a73df671eae878c30a /net/netfilter/xt_length.c
parent[NETFILTER]: x_tables: pass registered match/target data to match/target func... (diff)
downloadkernel-qcow2-linux-c49867347404c46f137a261643ed4fce4376f324.tar.gz
kernel-qcow2-linux-c49867347404c46f137a261643ed4fce4376f324.tar.xz
kernel-qcow2-linux-c49867347404c46f137a261643ed4fce4376f324.zip
[NETFILTER]: x_tables: add xt_{match,target} arguments to match/target functions
Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netfilter/xt_length.c')
-rw-r--r--net/netfilter/xt_length.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/netfilter/xt_length.c b/net/netfilter/xt_length.c
index 11a2812a99b1..b9e60f041a64 100644
--- a/net/netfilter/xt_length.c
+++ b/net/netfilter/xt_length.c
@@ -24,6 +24,7 @@ static int
match(const struct sk_buff *skb,
const struct net_device *in,
const struct net_device *out,
+ const struct xt_match *match,
const void *matchinfo,
int offset,
unsigned int protoff,
@@ -39,6 +40,7 @@ static int
match6(const struct sk_buff *skb,
const struct net_device *in,
const struct net_device *out,
+ const struct xt_match *match,
const void *matchinfo,
int offset,
unsigned int protoff,