License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[linux-block.git] / include / net / netns / netfilter.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
f3c1a44a
G
2#ifndef __NETNS_NETFILTER_H
3#define __NETNS_NETFILTER_H
4
a263653e 5#include <linux/netfilter_defs.h>
30e0c6a6 6
10c04a8e 7struct proc_dir_entry;
30e0c6a6 8struct nf_logger;
dc3ee32e 9struct nf_queue_handler;
f3c1a44a
G
10
11struct netns_nf {
12#if defined CONFIG_PROC_FS
13 struct proc_dir_entry *proc_netfilter;
30e0c6a6 14#endif
dc3ee32e 15 const struct nf_queue_handler __rcu *queue_handler;
30e0c6a6
G
16 const struct nf_logger __rcu *nf_loggers[NFPROTO_NUMPROTO];
17#ifdef CONFIG_SYSCTL
18 struct ctl_table_header *nf_log_dir_header;
f3c1a44a 19#endif
960632ec 20 struct nf_hook_entries __rcu *hooks[NFPROTO_NUMPROTO][NF_MAX_HOOKS];
834184b1
FW
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
f3c1a44a
G
27};
28#endif