summaryrefslogtreecommitdiffstats
path: root/include/linux/netfilter_arp
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@sw.ru>2008-01-31 04:04:32 -0800
committerDavid S. Miller <davem@davemloft.net>2008-01-31 19:27:40 -0800
commit79df341ab6c0b1eab77921265ddd1b17ec4db13a (patch)
tree8a9607a237767a768e33b9113a93b589fb2e1ee4 /include/linux/netfilter_arp
parent8280aa6182f03c4e27dc235ce0440bc94927dc28 (diff)
downloadlinux-stable-79df341ab6c0b1eab77921265ddd1b17ec4db13a.tar.gz
linux-stable-79df341ab6c0b1eab77921265ddd1b17ec4db13a.tar.bz2
linux-stable-79df341ab6c0b1eab77921265ddd1b17ec4db13a.zip
[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/linux/netfilter_arp')
-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 f35486b3a7ca..db223ca92c8b 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,