blob: e453a33f3e93501fce1b1067791d2fb107c685f6 [file] [log] [blame]
Alexey Dobriyandfdb8d72008-10-08 11:35:02 +02001#ifndef __NETNS_CONNTRACK_H
2#define __NETNS_CONNTRACK_H
3
Alexey Dobriyan49ac8712008-10-08 11:35:03 +02004#include <asm/atomic.h>
5
Alexey Dobriyandfdb8d72008-10-08 11:35:02 +02006struct netns_ct {
Alexey Dobriyan49ac8712008-10-08 11:35:03 +02007 atomic_t count;
Alexey Dobriyan9b03f382008-10-08 11:35:03 +02008 unsigned int expect_count;
Alexey Dobriyan400dad32008-10-08 11:35:03 +02009 struct hlist_head *hash;
Alexey Dobriyan9b03f382008-10-08 11:35:03 +020010 struct hlist_head *expect_hash;
Alexey Dobriyan400dad32008-10-08 11:35:03 +020011 int hash_vmalloc;
Alexey Dobriyan9b03f382008-10-08 11:35:03 +020012 int expect_vmalloc;
Alexey Dobriyandfdb8d72008-10-08 11:35:02 +020013};
14#endif