blob: c24060ee411e9e15a91a0fc5bd189eef8425869b [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
Alexey Dobriyan8d870052008-01-31 04:02:13 -080018};
19#endif