• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #ifndef __NETNS_NETFILTER_H
2 #define __NETNS_NETFILTER_H
3 
4 #include <linux/netfilter_defs.h>
5 
6 struct proc_dir_entry;
7 struct nf_logger;
8 struct nf_queue_handler;
9 
10 struct netns_nf {
11 #if defined CONFIG_PROC_FS
12 	struct proc_dir_entry *proc_netfilter;
13 #endif
14 	const struct nf_queue_handler __rcu *queue_handler;
15 	const struct nf_logger __rcu *nf_loggers[NFPROTO_NUMPROTO];
16 #ifdef CONFIG_SYSCTL
17 	struct ctl_table_header *nf_log_dir_header;
18 #endif
19 	struct nf_hook_entry __rcu *hooks[NFPROTO_NUMPROTO][NF_MAX_HOOKS];
20 };
21 #endif
22