]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - include/net/netns/conntrack.h
Merge branch 'for-linus' of git://oss.sgi.com/xfs/xfs
[mirror_ubuntu-bionic-kernel.git] / include / net / netns / conntrack.h
1 #ifndef __NETNS_CONNTRACK_H
2 #define __NETNS_CONNTRACK_H
3
4 #include <linux/list.h>
5 #include <linux/list_nulls.h>
6 #include <asm/atomic.h>
7
8 struct ctl_table_header;
9 struct nf_conntrack_ecache;
10
11 struct netns_ct {
12 atomic_t count;
13 unsigned int expect_count;
14 struct hlist_nulls_head *hash;
15 struct hlist_head *expect_hash;
16 struct hlist_nulls_head unconfirmed;
17 struct hlist_nulls_head dying;
18 struct ip_conntrack_stat *stat;
19 int sysctl_events;
20 unsigned int sysctl_events_retry_timeout;
21 int sysctl_acct;
22 int sysctl_checksum;
23 unsigned int sysctl_log_invalid; /* Log invalid packets */
24 #ifdef CONFIG_SYSCTL
25 struct ctl_table_header *sysctl_header;
26 struct ctl_table_header *acct_sysctl_header;
27 struct ctl_table_header *event_sysctl_header;
28 #endif
29 int hash_vmalloc;
30 int expect_vmalloc;
31 };
32 #endif