blob: 02fe40f8c8fda4a1351cf8079b083d5220234274 [file] [log] [blame]
Alexey Dobriyan8d870052008-01-31 04:02:13 -08001#ifndef __NETNS_X_TABLES_H
2#define __NETNS_X_TABLES_H
3
4#include <linux/list.h>
Patrick McHardy10a03a42008-10-20 03:31:54 -07005#include <linux/netfilter.h>
Alexey Dobriyan8d870052008-01-31 04:02:13 -08006
Alexey Dobriyan8157e6d2008-11-04 14:29:03 +01007struct ebt_table;
8
Alexey Dobriyan8d870052008-01-31 04:02:13 -08009struct netns_xt {
Patrick McHardy10a03a42008-10-20 03:31:54 -070010 struct list_head tables[NFPROTO_NUMPROTO];
Pablo Neira Ayuso10db9062012-12-20 01:54:51 +000011 bool notrack_deprecated_warning;
Cyrill Gorcunove04af022009-07-03 20:11:58 +000012#if defined(CONFIG_BRIDGE_NF_EBTABLES) || \
13 defined(CONFIG_BRIDGE_NF_EBTABLES_MODULE)
Alexey Dobriyan8157e6d2008-11-04 14:29:03 +010014 struct ebt_table *broute_table;
Alexey Dobriyan4aad1092008-11-04 14:29:58 +010015 struct ebt_table *frame_filter;
Alexey Dobriyanb71b30a2008-11-04 14:30:46 +010016 struct ebt_table *frame_nat;
Cyrill Gorcunove04af022009-07-03 20:11:58 +000017#endif
Pablo Neira Ayusode94c452013-05-22 22:42:37 +000018#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 Dobriyan8d870052008-01-31 04:02:13 -080024};
25#endif