aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/netns
diff options
context:
space:
mode:
authorBenjamin Thery <benjamin.thery@bull.net>2009-01-21 23:56:20 -0500
committerDavid S. Miller <davem@davemloft.net>2009-01-22 16:57:40 -0500
commit6f9374a9342e896c68df7cf7c0b039ab5cca994c (patch)
treeba03b8e9e70b0ae5f581444afb9a9ae43e579091 /include/net/netns
parent1e8fb3b6a4ac6c5e486298d88289038456957545 (diff)
netns: ipmr: declare mroute_do_assert and mroute_do_pim per-namespace
Preliminary work to make IPv4 multicast routing netns-aware. Declare IPv multicast routing variables 'mroute_do_assert' and 'mroute_do_pim' per-namespace in struct netns_ipv4. At the moment, these variables are only referenced in init_net. Signed-off-by: Benjamin Thery <benjamin.thery@bull.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/netns')
-rw-r--r--include/net/netns/ipv4.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/netns/ipv4.h b/include/net/netns/ipv4.h
index 90b7cd20aa69..8451722782bb 100644
--- a/include/net/netns/ipv4.h
+++ b/include/net/netns/ipv4.h
@@ -61,6 +61,8 @@ struct netns_ipv4 {
61 struct vif_device *vif_table; 61 struct vif_device *vif_table;
62 int maxvif; 62 int maxvif;
63 atomic_t cache_resolve_queue_len; 63 atomic_t cache_resolve_queue_len;
64 int mroute_do_assert;
65 int mroute_do_pim;
64#endif 66#endif
65}; 67};
66#endif 68#endif