diff options
Diffstat (limited to 'include/net/netns/ipv4.h')
| -rw-r--r-- | include/net/netns/ipv4.h | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/include/net/netns/ipv4.h b/include/net/netns/ipv4.h index 2eb3814d6258..d68c3f121774 100644 --- a/include/net/netns/ipv4.h +++ b/include/net/netns/ipv4.h | |||
| @@ -37,9 +37,12 @@ struct netns_ipv4 { | |||
| 37 | struct xt_table *iptable_mangle; | 37 | struct xt_table *iptable_mangle; |
| 38 | struct xt_table *iptable_raw; | 38 | struct xt_table *iptable_raw; |
| 39 | struct xt_table *arptable_filter; | 39 | struct xt_table *arptable_filter; |
| 40 | #ifdef CONFIG_SECURITY | ||
| 40 | struct xt_table *iptable_security; | 41 | struct xt_table *iptable_security; |
| 42 | #endif | ||
| 41 | struct xt_table *nat_table; | 43 | struct xt_table *nat_table; |
| 42 | struct hlist_head *nat_bysource; | 44 | struct hlist_head *nat_bysource; |
| 45 | unsigned int nat_htable_size; | ||
| 43 | int nat_vmalloced; | 46 | int nat_vmalloced; |
| 44 | #endif | 47 | #endif |
| 45 | 48 | ||
| @@ -52,19 +55,14 @@ struct netns_ipv4 { | |||
| 52 | int sysctl_rt_cache_rebuild_count; | 55 | int sysctl_rt_cache_rebuild_count; |
| 53 | int current_rt_cache_rebuild_count; | 56 | int current_rt_cache_rebuild_count; |
| 54 | 57 | ||
| 55 | struct timer_list rt_secret_timer; | ||
| 56 | atomic_t rt_genid; | 58 | atomic_t rt_genid; |
| 57 | 59 | ||
| 58 | #ifdef CONFIG_IP_MROUTE | 60 | #ifdef CONFIG_IP_MROUTE |
| 59 | struct sock *mroute_sk; | 61 | #ifndef CONFIG_IP_MROUTE_MULTIPLE_TABLES |
| 60 | struct mfc_cache **mfc_cache_array; | 62 | struct mr_table *mrt; |
| 61 | struct vif_device *vif_table; | 63 | #else |
| 62 | int maxvif; | 64 | struct list_head mr_tables; |
| 63 | atomic_t cache_resolve_queue_len; | 65 | struct fib_rules_ops *mr_rules_ops; |
| 64 | int mroute_do_assert; | ||
| 65 | int mroute_do_pim; | ||
| 66 | #if defined(CONFIG_IP_PIMSM_V1) || defined(CONFIG_IP_PIMSM_V2) | ||
| 67 | int mroute_reg_vif_num; | ||
| 68 | #endif | 66 | #endif |
| 69 | #endif | 67 | #endif |
| 70 | }; | 68 | }; |
