Commit | Line | Data |
---|---|---|
dfdb8d79 AD |
1 | #ifndef __NETNS_CONNTRACK_H |
2 | #define __NETNS_CONNTRACK_H | |
3 | ||
63c9a262 | 4 | #include <linux/list.h> |
49ac8713 AD |
5 | #include <asm/atomic.h> |
6 | ||
6058fa6b AD |
7 | struct nf_conntrack_ecache; |
8 | ||
dfdb8d79 | 9 | struct netns_ct { |
49ac8713 | 10 | atomic_t count; |
9b03f38d | 11 | unsigned int expect_count; |
400dad39 | 12 | struct hlist_head *hash; |
9b03f38d | 13 | struct hlist_head *expect_hash; |
63c9a262 | 14 | struct hlist_head unconfirmed; |
6058fa6b AD |
15 | #ifdef CONFIG_NF_CONNTRACK_EVENTS |
16 | struct nf_conntrack_ecache *ecache; | |
17 | #endif | |
400dad39 | 18 | int hash_vmalloc; |
9b03f38d | 19 | int expect_vmalloc; |
dfdb8d79 AD |
20 | }; |
21 | #endif |