]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blob - include/net/netns/conntrack.h
netfilter: netns nf_conntrack: per-netns net.netfilter.nf_conntrack_count sysctl
[linux-2.6-omap-h63xx.git] / include / net / netns / conntrack.h
1 #ifndef __NETNS_CONNTRACK_H
2 #define __NETNS_CONNTRACK_H
3
4 #include <linux/list.h>
5 #include <asm/atomic.h>
6
7 struct ctl_table_header;
8 struct nf_conntrack_ecache;
9
10 struct netns_ct {
11         atomic_t                count;
12         unsigned int            expect_count;
13         struct hlist_head       *hash;
14         struct hlist_head       *expect_hash;
15         struct hlist_head       unconfirmed;
16         struct ip_conntrack_stat *stat;
17 #ifdef CONFIG_NF_CONNTRACK_EVENTS
18         struct nf_conntrack_ecache *ecache;
19 #endif
20 #ifdef CONFIG_SYSCTL
21         struct ctl_table_header *sysctl_header;
22 #endif
23         int                     hash_vmalloc;
24         int                     expect_vmalloc;
25 };
26 #endif