blob: c8a7681efa6a5f33b1cb7afd92f48a7766c8ac82 [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>
Pablo Neira Ayusoa2636532015-06-17 10:28:27 -05005#include <linux/netfilter_defs.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;
Pablo Neira Ayuso43270b12015-03-02 14:40:39 +010012 bool clusterip_deprecated_warning;
Cyrill Gorcunove04af022009-07-03 20:11:58 +000013#if defined(CONFIG_BRIDGE_NF_EBTABLES) || \
14 defined(CONFIG_BRIDGE_NF_EBTABLES_MODULE)
Alexey Dobriyan8157e6d2008-11-04 14:29:03 +010015 struct ebt_table *broute_table;
Alexey Dobriyan4aad1092008-11-04 14:29:58 +010016 struct ebt_table *frame_filter;
Alexey Dobriyanb71b30a2008-11-04 14:30:46 +010017 struct ebt_table *frame_nat;
Cyrill Gorcunove04af022009-07-03 20:11:58 +000018#endif
Alexey Dobriyan8d870052008-01-31 04:02:13 -080019};
20#endif