summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2008-10-08 11:35:11 +0200
committerPatrick McHardy <kaber@trash.net>2008-10-08 11:35:11 +0200
commit0c4c9288ada0e6642d511ef872f10a4781a896ff (patch)
treeee0e22ad78f9a7454e4d8eca09f38414afa643ee /include/net
parentnetfilter: netns nat: per-netns NAT table (diff)
downloadlinux-0c4c9288ada0e6642d511ef872f10a4781a896ff.tar.xz
linux-0c4c9288ada0e6642d511ef872f10a4781a896ff.zip
netfilter: netns nat: per-netns bysource hash
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/netns/ipv4.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/netns/ipv4.h b/include/net/netns/ipv4.h
index b286b840493c..ece1c926b5d1 100644
--- a/include/net/netns/ipv4.h
+++ b/include/net/netns/ipv4.h
@@ -39,6 +39,8 @@ struct netns_ipv4 {
struct xt_table *arptable_filter;
struct xt_table *iptable_security;
struct xt_table *nat_table;
+ struct hlist_head *nat_bysource;
+ int nat_vmalloced;
#endif
int sysctl_icmp_echo_ignore_all;