Kyle Swenson | 8d8f654 | 2021-03-15 11:02:55 -0600 | [diff] [blame^] | 1 | #ifndef __NETNS_X_TABLES_H |
| 2 | #define __NETNS_X_TABLES_H |
| 3 | |
| 4 | #include <linux/list.h> |
| 5 | #include <linux/netfilter_defs.h> |
| 6 | |
| 7 | struct ebt_table; |
| 8 | |
| 9 | struct netns_xt { |
| 10 | struct list_head tables[NFPROTO_NUMPROTO]; |
| 11 | bool notrack_deprecated_warning; |
| 12 | bool clusterip_deprecated_warning; |
| 13 | #if defined(CONFIG_BRIDGE_NF_EBTABLES) || \ |
| 14 | defined(CONFIG_BRIDGE_NF_EBTABLES_MODULE) |
| 15 | struct ebt_table *broute_table; |
| 16 | struct ebt_table *frame_filter; |
| 17 | struct ebt_table *frame_nat; |
| 18 | #endif |
| 19 | }; |
| 20 | #endif |