Alexey Dobriyan | dfdb8d7 | 2008-10-08 11:35:02 +0200 | [diff] [blame] | 1 | #ifndef __NETNS_CONNTRACK_H |
2 | #define __NETNS_CONNTRACK_H | ||||
3 | |||||
Alexey Dobriyan | 63c9a26 | 2008-10-08 11:35:04 +0200 | [diff] [blame] | 4 | #include <linux/list.h> |
Alexey Dobriyan | 49ac871 | 2008-10-08 11:35:03 +0200 | [diff] [blame] | 5 | #include <asm/atomic.h> |
6 | |||||
Alexey Dobriyan | 6058fa6 | 2008-10-08 11:35:07 +0200 | [diff] [blame^] | 7 | struct nf_conntrack_ecache; |
8 | |||||
Alexey Dobriyan | dfdb8d7 | 2008-10-08 11:35:02 +0200 | [diff] [blame] | 9 | struct netns_ct { |
Alexey Dobriyan | 49ac871 | 2008-10-08 11:35:03 +0200 | [diff] [blame] | 10 | atomic_t count; |
Alexey Dobriyan | 9b03f38 | 2008-10-08 11:35:03 +0200 | [diff] [blame] | 11 | unsigned int expect_count; |
Alexey Dobriyan | 400dad3 | 2008-10-08 11:35:03 +0200 | [diff] [blame] | 12 | struct hlist_head *hash; |
Alexey Dobriyan | 9b03f38 | 2008-10-08 11:35:03 +0200 | [diff] [blame] | 13 | struct hlist_head *expect_hash; |
Alexey Dobriyan | 63c9a26 | 2008-10-08 11:35:04 +0200 | [diff] [blame] | 14 | struct hlist_head unconfirmed; |
Alexey Dobriyan | 6058fa6 | 2008-10-08 11:35:07 +0200 | [diff] [blame^] | 15 | #ifdef CONFIG_NF_CONNTRACK_EVENTS |
16 | struct nf_conntrack_ecache *ecache; | ||||
17 | #endif | ||||
Alexey Dobriyan | 400dad3 | 2008-10-08 11:35:03 +0200 | [diff] [blame] | 18 | int hash_vmalloc; |
Alexey Dobriyan | 9b03f38 | 2008-10-08 11:35:03 +0200 | [diff] [blame] | 19 | int expect_vmalloc; |
Alexey Dobriyan | dfdb8d7 | 2008-10-08 11:35:02 +0200 | [diff] [blame] | 20 | }; |
21 | #endif |