summaryrefslogtreecommitdiffstats
path: root/net/ipv4/netfilter/ipt_TOS.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/ipv4/netfilter/ipt_TOS.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/ipv4/netfilter/ipt_TOS.c')
-rw-r--r--net/ipv4/netfilter/ipt_TOS.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/ipv4/netfilter/ipt_TOS.c b/net/ipv4/netfilter/ipt_TOS.c
index 6568e3e30e47..9aa7817657f0 100644
--- a/net/ipv4/netfilter/ipt_TOS.c
+++ b/net/ipv4/netfilter/ipt_TOS.c
@@ -25,6 +25,7 @@ target(struct sk_buff **pskb,
const struct net_device *in,
const struct net_device *out,
unsigned int hooknum,
+ const struct xt_target *target,
const void *targinfo,
void *userinfo)
{
@@ -53,6 +54,7 @@ target(struct sk_buff **pskb,
static int
checkentry(const char *tablename,
const void *e_void,
+ const struct xt_target *target,
void *targinfo,
unsigned int targinfosize,
unsigned int hook_mask)