diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2010-01-13 16:02:14 +0100 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2010-01-13 16:02:14 +0100 |
commit | cd8c20b650f49354722b8cc1f03320b004815a0a (patch) | |
tree | 56c21f6211f0acea000452d5f6063453276ca215 /include/linux/netfilter | |
parent | 7f635d0d1bf84ad7a0032cbce9d902b9384c48b7 (diff) | |
download | kernel_samsung_espresso10-cd8c20b650f49354722b8cc1f03320b004815a0a.zip kernel_samsung_espresso10-cd8c20b650f49354722b8cc1f03320b004815a0a.tar.gz kernel_samsung_espresso10-cd8c20b650f49354722b8cc1f03320b004815a0a.tar.bz2 |
netfilter: nfnetlink: netns support
Make nfnl socket per-petns.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include/linux/netfilter')
-rw-r--r-- | include/linux/netfilter/nfnetlink.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/netfilter/nfnetlink.h b/include/linux/netfilter/nfnetlink.h index 49d321f..5392386 100644 --- a/include/linux/netfilter/nfnetlink.h +++ b/include/linux/netfilter/nfnetlink.h @@ -73,11 +73,11 @@ struct nfnetlink_subsystem { extern int nfnetlink_subsys_register(const struct nfnetlink_subsystem *n); extern int nfnetlink_subsys_unregister(const struct nfnetlink_subsystem *n); -extern int nfnetlink_has_listeners(unsigned int group); -extern int nfnetlink_send(struct sk_buff *skb, u32 pid, unsigned group, +extern int nfnetlink_has_listeners(struct net *net, unsigned int group); +extern int nfnetlink_send(struct sk_buff *skb, struct net *net, u32 pid, unsigned group, int echo, gfp_t flags); -extern void nfnetlink_set_err(u32 pid, u32 group, int error); -extern int nfnetlink_unicast(struct sk_buff *skb, u_int32_t pid, int flags); +extern void nfnetlink_set_err(struct net *net, u32 pid, u32 group, int error); +extern int nfnetlink_unicast(struct sk_buff *skb, struct net *net, u_int32_t pid, int flags); extern void nfnl_lock(void); extern void nfnl_unlock(void); |