conntrack.h 423 字节
Newer Older
1 2 3
#ifndef __NETNS_CONNTRACK_H
#define __NETNS_CONNTRACK_H

4
#include <linux/list.h>
5 6
#include <asm/atomic.h>

7 8
struct nf_conntrack_ecache;

9
struct netns_ct {
10
	atomic_t		count;
11
	unsigned int		expect_count;
12
	struct hlist_head	*hash;
13
	struct hlist_head	*expect_hash;
14
	struct hlist_head	unconfirmed;
15 16 17
#ifdef CONFIG_NF_CONNTRACK_EVENTS
	struct nf_conntrack_ecache *ecache;
#endif
18
	int			hash_vmalloc;
19
	int			expect_vmalloc;
20 21
};
#endif