summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@sw.ru>2008-01-31 12:04:32 (GMT)
committerDavid S. Miller <davem@davemloft.net>2008-02-01 03:27:40 (GMT)
commit79df341ab6c0b1eab77921265ddd1b17ec4db13a (patch)
tree8a9607a237767a768e33b9113a93b589fb2e1ee4 /include
parent8280aa6182f03c4e27dc235ce0440bc94927dc28 (diff)
downloadlinux-79df341ab6c0b1eab77921265ddd1b17ec4db13a.tar.xz
[NETFILTER]: arp_tables: netns preparation
* Propagate netns from userspace. * arpt_register_table() registers table in supplied netns. Signed-off-by: Alexey Dobriyan <adobriyan@sw.ru> Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/netfilter_arp/arp_tables.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/netfilter_arp/arp_tables.h b/include/linux/netfilter_arp/arp_tables.h
index f35486b..db223ca 100644
--- a/include/linux/netfilter_arp/arp_tables.h
+++ b/include/linux/netfilter_arp/arp_tables.h
@@ -271,7 +271,8 @@ struct arpt_error
xt_register_target(tgt); })
#define arpt_unregister_target(tgt) xt_unregister_target(tgt)
-extern struct arpt_table *arpt_register_table(struct arpt_table *table,
+extern struct arpt_table *arpt_register_table(struct net *net,
+ struct arpt_table *table,
const struct arpt_replace *repl);
extern void arpt_unregister_table(struct arpt_table *table);
extern unsigned int arpt_do_table(struct sk_buff *skb,