aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/netns/conntrack.h
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2008-10-08 05:35:08 -0400
committerPatrick McHardy <kaber@trash.net>2008-10-08 05:35:08 -0400
commit802507071b72ed5025747126099cbc6d1542f596 (patch)
tree4c572d665eb8da556cc9c42b363ee44450a1edaf /include/net/netns/conntrack.h
parent8e9df80180b73d4107bf8fbf28b1633c541d2770 (diff)
netfilter: netns nf_conntrack: per-netns net.netfilter.nf_conntrack_count sysctl
Note, sysctl table is always duplicated, this is simpler and less special-cased. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include/net/netns/conntrack.h')
-rw-r--r--include/net/netns/conntrack.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/netns/conntrack.h b/include/net/netns/conntrack.h
index fc0a46d64cc..2b50758df6a 100644
--- a/include/net/netns/conntrack.h
+++ b/include/net/netns/conntrack.h
@@ -4,6 +4,7 @@
4#include <linux/list.h> 4#include <linux/list.h>
5#include <asm/atomic.h> 5#include <asm/atomic.h>
6 6
7struct ctl_table_header;
7struct nf_conntrack_ecache; 8struct nf_conntrack_ecache;
8 9
9struct netns_ct { 10struct netns_ct {
@@ -16,6 +17,9 @@ struct netns_ct {
16#ifdef CONFIG_NF_CONNTRACK_EVENTS 17#ifdef CONFIG_NF_CONNTRACK_EVENTS
17 struct nf_conntrack_ecache *ecache; 18 struct nf_conntrack_ecache *ecache;
18#endif 19#endif
20#ifdef CONFIG_SYSCTL
21 struct ctl_table_header *sysctl_header;
22#endif
19 int hash_vmalloc; 23 int hash_vmalloc;
20 int expect_vmalloc; 24 int expect_vmalloc;
21}; 25};