Nicholas Flintham | 1e3d311 | 2013-04-10 10:48:38 +0100 | [diff] [blame^] | 1 | #ifndef __NETNS_X_TABLES_H |
2 | #define __NETNS_X_TABLES_H | ||||
3 | |||||
4 | #include <linux/list.h> | ||||
5 | #include <linux/netfilter.h> | ||||
6 | |||||
7 | struct ebt_table; | ||||
8 | |||||
9 | struct netns_xt { | ||||
10 | struct list_head tables[NFPROTO_NUMPROTO]; | ||||
11 | #if defined(CONFIG_BRIDGE_NF_EBTABLES) || \ | ||||
12 | defined(CONFIG_BRIDGE_NF_EBTABLES_MODULE) | ||||
13 | struct ebt_table *broute_table; | ||||
14 | struct ebt_table *frame_filter; | ||||
15 | struct ebt_table *frame_nat; | ||||
16 | #endif | ||||
17 | }; | ||||
18 | #endif |