Alexey Dobriyan | 8d87005 | 2008-01-31 04:02:13 -0800 | [diff] [blame] | 1 | #ifndef __NETNS_X_TABLES_H |
| 2 | #define __NETNS_X_TABLES_H |
| 3 | |
| 4 | #include <linux/list.h> |
Patrick McHardy | 10a03a4 | 2008-10-20 03:31:54 -0700 | [diff] [blame] | 5 | #include <linux/netfilter.h> |
Alexey Dobriyan | 8d87005 | 2008-01-31 04:02:13 -0800 | [diff] [blame] | 6 | |
Alexey Dobriyan | 8157e6d | 2008-11-04 14:29:03 +0100 | [diff] [blame] | 7 | struct ebt_table; |
| 8 | |
Alexey Dobriyan | 8d87005 | 2008-01-31 04:02:13 -0800 | [diff] [blame] | 9 | struct netns_xt { |
Patrick McHardy | 10a03a4 | 2008-10-20 03:31:54 -0700 | [diff] [blame] | 10 | struct list_head tables[NFPROTO_NUMPROTO]; |
Pablo Neira Ayuso | 10db906 | 2012-12-20 01:54:51 +0000 | [diff] [blame] | 11 | bool notrack_deprecated_warning; |
Cyrill Gorcunov | e04af02 | 2009-07-03 20:11:58 +0000 | [diff] [blame] | 12 | #if defined(CONFIG_BRIDGE_NF_EBTABLES) || \ |
| 13 | defined(CONFIG_BRIDGE_NF_EBTABLES_MODULE) |
Alexey Dobriyan | 8157e6d | 2008-11-04 14:29:03 +0100 | [diff] [blame] | 14 | struct ebt_table *broute_table; |
Alexey Dobriyan | 4aad109 | 2008-11-04 14:29:58 +0100 | [diff] [blame] | 15 | struct ebt_table *frame_filter; |
Alexey Dobriyan | b71b30a | 2008-11-04 14:30:46 +0100 | [diff] [blame] | 16 | struct ebt_table *frame_nat; |
Cyrill Gorcunov | e04af02 | 2009-07-03 20:11:58 +0000 | [diff] [blame] | 17 | #endif |
Pablo Neira Ayuso | de94c45 | 2013-05-22 22:42:37 +0000 | [diff] [blame] | 18 | #if IS_ENABLED(CONFIG_IP_NF_TARGET_ULOG) |
| 19 | bool ulog_warn_deprecated; |
| 20 | #endif |
| 21 | #if IS_ENABLED(CONFIG_BRIDGE_EBT_ULOG) |
| 22 | bool ebt_ulog_warn_deprecated; |
| 23 | #endif |
Alexey Dobriyan | 8d87005 | 2008-01-31 04:02:13 -0800 | [diff] [blame] | 24 | }; |
| 25 | #endif |