aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/ip6_route.h
diff options
context:
space:
mode:
authorDaniel Lezcano <dlezcano@fr.ibm.com>2008-03-04 16:48:10 -0500
committerDavid S. Miller <davem@davemloft.net>2008-03-04 16:48:10 -0500
commitbdb3289f739e94bcae8b51972ae844ec66c2f4df (patch)
tree2ffffce475a82a69bbe8092be3d3f260fe83b003 /include/net/ip6_route.h
parent5578689a4e3c04f2d43ea39736fd3fa396d80c6e (diff)
[NETNS][IPV6] rt6_info - make rt6_info accessed as a pointer
This patch make mindless changes and prepares the code to use dynamic allocation for rt6_info structure. The code accesses the rt6_info structure as a pointer instead of a global static variable. Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com> Signed-off-by: Benjamin Thery <benjamin.thery@bull.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ip6_route.h')
-rw-r--r--include/net/ip6_route.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/net/ip6_route.h b/include/net/ip6_route.h
index 2bcbfb826530..e0caed25bfba 100644
--- a/include/net/ip6_route.h
+++ b/include/net/ip6_route.h
@@ -34,11 +34,11 @@ struct route_info {
34#define RT6_LOOKUP_F_REACHABLE 0x2 34#define RT6_LOOKUP_F_REACHABLE 0x2
35#define RT6_LOOKUP_F_HAS_SADDR 0x4 35#define RT6_LOOKUP_F_HAS_SADDR 0x4
36 36
37extern struct rt6_info ip6_null_entry; 37extern struct rt6_info *ip6_null_entry;
38 38
39#ifdef CONFIG_IPV6_MULTIPLE_TABLES 39#ifdef CONFIG_IPV6_MULTIPLE_TABLES
40extern struct rt6_info ip6_prohibit_entry; 40extern struct rt6_info *ip6_prohibit_entry;
41extern struct rt6_info ip6_blk_hole_entry; 41extern struct rt6_info *ip6_blk_hole_entry;
42#endif 42#endif
43 43
44extern void ip6_route_input(struct sk_buff *skb); 44extern void ip6_route_input(struct sk_buff *skb);