2008-10-08 09:35:02 +00:00
|
|
|
#ifndef __NETNS_CONNTRACK_H
|
|
|
|
#define __NETNS_CONNTRACK_H
|
|
|
|
|
2008-10-08 09:35:04 +00:00
|
|
|
#include <linux/list.h>
|
2008-10-08 09:35:03 +00:00
|
|
|
#include <asm/atomic.h>
|
|
|
|
|
2008-10-08 09:35:08 +00:00
|
|
|
struct ctl_table_header;
|
2008-10-08 09:35:07 +00:00
|
|
|
struct nf_conntrack_ecache;
|
|
|
|
|
2008-10-08 09:35:02 +00:00
|
|
|
struct netns_ct {
|
2008-10-08 09:35:03 +00:00
|
|
|
atomic_t count;
|
2008-10-08 09:35:03 +00:00
|
|
|
unsigned int expect_count;
|
2008-10-08 09:35:03 +00:00
|
|
|
struct hlist_head *hash;
|
2008-10-08 09:35:03 +00:00
|
|
|
struct hlist_head *expect_hash;
|
2008-10-08 09:35:04 +00:00
|
|
|
struct hlist_head unconfirmed;
|
2008-10-08 09:35:07 +00:00
|
|
|
struct ip_conntrack_stat *stat;
|
2008-10-08 09:35:07 +00:00
|
|
|
#ifdef CONFIG_NF_CONNTRACK_EVENTS
|
|
|
|
struct nf_conntrack_ecache *ecache;
|
2008-10-08 09:35:08 +00:00
|
|
|
#endif
|
2008-10-08 09:35:09 +00:00
|
|
|
int sysctl_acct;
|
2008-10-08 09:35:08 +00:00
|
|
|
int sysctl_checksum;
|
2008-10-08 09:35:08 +00:00
|
|
|
unsigned int sysctl_log_invalid; /* Log invalid packets */
|
2008-10-08 09:35:08 +00:00
|
|
|
#ifdef CONFIG_SYSCTL
|
|
|
|
struct ctl_table_header *sysctl_header;
|
2008-10-08 09:35:09 +00:00
|
|
|
struct ctl_table_header *acct_sysctl_header;
|
2008-10-08 09:35:07 +00:00
|
|
|
#endif
|
2008-10-08 09:35:03 +00:00
|
|
|
int hash_vmalloc;
|
2008-10-08 09:35:03 +00:00
|
|
|
int expect_vmalloc;
|
2008-10-08 09:35:02 +00:00
|
|
|
};
|
|
|
|
#endif
|