Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
8d870052 AD |
2 | #ifndef __NETNS_X_TABLES_H |
3 | #define __NETNS_X_TABLES_H | |
4 | ||
5 | #include <linux/list.h> | |
a263653e | 6 | #include <linux/netfilter_defs.h> |
8d870052 | 7 | |
8157e6d1 AD |
8 | struct ebt_table; |
9 | ||
8d870052 | 10 | struct netns_xt { |
10a03a42 | 11 | struct list_head tables[NFPROTO_NUMPROTO]; |
10db9069 | 12 | bool notrack_deprecated_warning; |
43270b1b | 13 | bool clusterip_deprecated_warning; |
e04af024 CG |
14 | #if defined(CONFIG_BRIDGE_NF_EBTABLES) || \ |
15 | defined(CONFIG_BRIDGE_NF_EBTABLES_MODULE) | |
8157e6d1 | 16 | struct ebt_table *broute_table; |
4aad1093 | 17 | struct ebt_table *frame_filter; |
b71b30a6 | 18 | struct ebt_table *frame_nat; |
e04af024 | 19 | #endif |
8d870052 AD |
20 | }; |
21 | #endif |