netfilter.h 505 Bytes
Newer Older
1 2 3
#ifndef __NETNS_NETFILTER_H
#define __NETNS_NETFILTER_H

4
#include <linux/netfilter_defs.h>
5

6
struct proc_dir_entry;
7
struct nf_logger;
8
struct nf_queue_handler;
9 10 11 12

struct netns_nf {
#if defined CONFIG_PROC_FS
	struct proc_dir_entry *proc_netfilter;
13
#endif
14
	const struct nf_queue_handler __rcu *queue_handler;
15 16 17
	const struct nf_logger __rcu *nf_loggers[NFPROTO_NUMPROTO];
#ifdef CONFIG_SYSCTL
	struct ctl_table_header *nf_log_dir_header;
18
#endif
19
	struct list_head hooks[NFPROTO_NUMPROTO][NF_MAX_HOOKS];
20 21
};
#endif