2008-10-08 03:35:02 -06:00
|
|
|
#ifndef __NETNS_CONNTRACK_H
|
|
|
|
#define __NETNS_CONNTRACK_H
|
|
|
|
|
2008-10-08 03:35:04 -06:00
|
|
|
#include <linux/list.h>
|
2008-10-08 03:35:03 -06:00
|
|
|
#include <asm/atomic.h>
|
|
|
|
|
2008-10-08 03:35:02 -06:00
|
|
|
struct netns_ct {
|
2008-10-08 03:35:03 -06:00
|
|
|
atomic_t count;
|
2008-10-08 03:35:03 -06:00
|
|
|
unsigned int expect_count;
|
2008-10-08 03:35:03 -06:00
|
|
|
struct hlist_head *hash;
|
2008-10-08 03:35:03 -06:00
|
|
|
struct hlist_head *expect_hash;
|
2008-10-08 03:35:04 -06:00
|
|
|
struct hlist_head unconfirmed;
|
2008-10-08 03:35:03 -06:00
|
|
|
int hash_vmalloc;
|
2008-10-08 03:35:03 -06:00
|
|
|
int expect_vmalloc;
|
2008-10-08 03:35:02 -06:00
|
|
|
};
|
|
|
|
#endif
|