1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __NETNS_X_TABLES_H
3 #define __NETNS_X_TABLES_H
4 
5 #include <linux/list.h>
6 #include <linux/netfilter_defs.h>
7 
8 struct ebt_table;
9 
10 struct netns_xt {
11 	struct list_head tables[NFPROTO_NUMPROTO];
12 	bool notrack_deprecated_warning;
13 	bool clusterip_deprecated_warning;
14 #if defined(CONFIG_BRIDGE_NF_EBTABLES) || \
15     defined(CONFIG_BRIDGE_NF_EBTABLES_MODULE)
16 	struct ebt_table *broute_table;
17 	struct ebt_table *frame_filter;
18 	struct ebt_table *frame_nat;
19 #endif
20 };
21 #endif
22