]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blob - include/net/netns/conntrack.h
netfilter: netns nf_conntrack: per-netns event cache
[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 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