9d5c1623c51f7c07f931e895273a1913856251bd
[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 <asm/atomic.h>
6
7 struct nf_conntrack_ecache;
8
9 struct netns_ct {
10         atomic_t                count;
11         unsigned int            expect_count;
12         struct hlist_head       *hash;
13         struct hlist_head       *expect_hash;
14         struct hlist_head       unconfirmed;
15 #ifdef CONFIG_NF_CONNTRACK_EVENTS
16         struct nf_conntrack_ecache *ecache;
17 #endif
18         int                     hash_vmalloc;
19         int                     expect_vmalloc;
20 };
21 #endif