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