Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
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
8struct ctl_table_header;
9struct nf_conntrack_ecache;
10
11struct 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