]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blob - include/net/netns/netfilter.h
Merge tag 'trace-v4.14-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rosted...
[mirror_ubuntu-focal-kernel.git] / include / net / netns / netfilter.h
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_entries __rcu *hooks[NFPROTO_NUMPROTO][NF_MAX_HOOKS];
20 #if IS_ENABLED(CONFIG_NF_DEFRAG_IPV4)
21 bool defrag_ipv4;
22 #endif
23 #if IS_ENABLED(CONFIG_NF_DEFRAG_IPV6)
24 bool defrag_ipv6;
25 #endif
26 };
27 #endif