blob: 591db7d657a37d42107b38582cd8a45ad5838552 [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];
Cyrill Gorcunove04af022009-07-03 20:11:58 +000011#if defined(CONFIG_BRIDGE_NF_EBTABLES) || \
12 defined(CONFIG_BRIDGE_NF_EBTABLES_MODULE)
Alexey Dobriyan8157e6d2008-11-04 14:29:03 +010013 struct ebt_table *broute_table;
Alexey Dobriyan4aad1092008-11-04 14:29:58 +010014 struct ebt_table *frame_filter;
Alexey Dobriyanb71b30a2008-11-04 14:30:46 +010015 struct ebt_table *frame_nat;
Cyrill Gorcunove04af022009-07-03 20:11:58 +000016#endif
Alexey Dobriyan8d870052008-01-31 04:02:13 -080017};
18#endif