writeback: safer lock nesting
[linux/fpc-iii.git] / include / net / netns / netfilter.h
blobcc00af2ac2d75190dca49339c93416a852929a8e
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __NETNS_NETFILTER_H
3 #define __NETNS_NETFILTER_H
5 #include <linux/netfilter_defs.h>
7 struct proc_dir_entry;
8 struct nf_logger;
9 struct nf_queue_handler;
11 struct netns_nf {
12 #if defined CONFIG_PROC_FS
13 struct proc_dir_entry *proc_netfilter;
14 #endif
15 const struct nf_queue_handler __rcu *queue_handler;
16 const struct nf_logger __rcu *nf_loggers[NFPROTO_NUMPROTO];
17 #ifdef CONFIG_SYSCTL
18 struct ctl_table_header *nf_log_dir_header;
19 #endif
20 struct nf_hook_entries __rcu *hooks[NFPROTO_NUMPROTO][NF_MAX_HOOKS];
21 #if IS_ENABLED(CONFIG_NF_DEFRAG_IPV4)
22 bool defrag_ipv4;
23 #endif
24 #if IS_ENABLED(CONFIG_NF_DEFRAG_IPV6)
25 bool defrag_ipv6;
26 #endif
28 #endif