Linux 2.6.36-rc5
[linux-2.6/next.git] / include / net / netns / conntrack.h
blobd4958d4c65748f1f0d31453e39be6a85d00d988f
1 #ifndef __NETNS_CONNTRACK_H
2 #define __NETNS_CONNTRACK_H
4 #include <linux/list.h>
5 #include <linux/list_nulls.h>
6 #include <asm/atomic.h>
8 struct ctl_table_header;
9 struct nf_conntrack_ecache;
11 struct netns_ct {
12 atomic_t count;
13 unsigned int expect_count;
14 unsigned int htable_size;
15 struct kmem_cache *nf_conntrack_cachep;
16 struct hlist_nulls_head *hash;
17 struct hlist_head *expect_hash;
18 struct hlist_nulls_head unconfirmed;
19 struct hlist_nulls_head dying;
20 struct ip_conntrack_stat __percpu *stat;
21 int sysctl_events;
22 unsigned int sysctl_events_retry_timeout;
23 int sysctl_acct;
24 int sysctl_checksum;
25 unsigned int sysctl_log_invalid; /* Log invalid packets */
26 #ifdef CONFIG_SYSCTL
27 struct ctl_table_header *sysctl_header;
28 struct ctl_table_header *acct_sysctl_header;
29 struct ctl_table_header *event_sysctl_header;
30 #endif
31 int hash_vmalloc;
32 int expect_vmalloc;
33 char *slabname;
35 #endif