| Alexey Dobriyan | 8d87005 | 2008-01-31 04:02:13 -0800 | [diff] [blame] | 1 | #ifndef __NETNS_X_TABLES_H | 
|  | 2 | #define __NETNS_X_TABLES_H | 
|  | 3 |  | 
|  | 4 | #include <linux/list.h> | 
| Patrick McHardy | 10a03a4 | 2008-10-20 03:31:54 -0700 | [diff] [blame] | 5 | #include <linux/netfilter.h> | 
| Alexey Dobriyan | 8d87005 | 2008-01-31 04:02:13 -0800 | [diff] [blame] | 6 |  | 
| Alexey Dobriyan | 8157e6d | 2008-11-04 14:29:03 +0100 | [diff] [blame] | 7 | struct ebt_table; | 
|  | 8 |  | 
| Alexey Dobriyan | 8d87005 | 2008-01-31 04:02:13 -0800 | [diff] [blame] | 9 | struct netns_xt { | 
| Patrick McHardy | 10a03a4 | 2008-10-20 03:31:54 -0700 | [diff] [blame] | 10 | struct list_head tables[NFPROTO_NUMPROTO]; | 
| Cyrill Gorcunov | e04af02 | 2009-07-03 20:11:58 +0000 | [diff] [blame] | 11 | #if defined(CONFIG_BRIDGE_NF_EBTABLES) || \ | 
|  | 12 | defined(CONFIG_BRIDGE_NF_EBTABLES_MODULE) | 
| Alexey Dobriyan | 8157e6d | 2008-11-04 14:29:03 +0100 | [diff] [blame] | 13 | struct ebt_table *broute_table; | 
| Alexey Dobriyan | 4aad109 | 2008-11-04 14:29:58 +0100 | [diff] [blame] | 14 | struct ebt_table *frame_filter; | 
| Alexey Dobriyan | b71b30a | 2008-11-04 14:30:46 +0100 | [diff] [blame] | 15 | struct ebt_table *frame_nat; | 
| Cyrill Gorcunov | e04af02 | 2009-07-03 20:11:58 +0000 | [diff] [blame] | 16 | #endif | 
| Alexey Dobriyan | 8d87005 | 2008-01-31 04:02:13 -0800 | [diff] [blame] | 17 | }; | 
|  | 18 | #endif |