netfilter: conntrack: move event caching to conntrack extension infrastructure
[safe/jmp/linux-2.6] / include / net / netns / conntrack.h
1 #ifndef __NETNS_CONNTRACK_H
2 #define __NETNS_CONNTRACK_H
3
4 #include <linux/list.h>
5 #include <linux/list_nulls.h>
6 #include <asm/atomic.h>
7
8 struct ctl_table_header;
9 struct nf_conntrack_ecache;
10
11 struct netns_ct {
12         atomic_t                count;
13         unsigned int            expect_count;
14         struct hlist_nulls_head *hash;
15         struct hlist_head       *expect_hash;
16         struct hlist_nulls_head unconfirmed;
17         struct ip_conntrack_stat *stat;
18         int                     sysctl_events;
19         int                     sysctl_acct;
20         int                     sysctl_checksum;
21         unsigned int            sysctl_log_invalid; /* Log invalid packets */
22 #ifdef CONFIG_SYSCTL
23         struct ctl_table_header *sysctl_header;
24         struct ctl_table_header *acct_sysctl_header;
25         struct ctl_table_header *event_sysctl_header;
26 #endif
27         int                     hash_vmalloc;
28         int                     expect_vmalloc;
29 };
30 #endif