aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDaniel Lezcano <dlezcano@fr.ibm.com>2008-03-04 16:45:59 -0500
committerDavid S. Miller <davem@davemloft.net>2008-03-04 16:45:59 -0500
commit606a2b4862d4be31fa55cad89871fe52a422d511 (patch)
tree4968038a439ba1ff2a255ead01228fc81dec97ee /include
parentcdb1876192dbe680b3ac955717fdf7f863c1762d (diff)
[NETNS][IPV6] route6 - Pass the network namespace parameter to rt6_lookup
Add a network namespace parameter to rt6_lookup(). 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')
-rw-r--r--include/net/ip6_route.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/ip6_route.h b/include/net/ip6_route.h
index 79dce496f4d4..92004c5160c7 100644
--- a/include/net/ip6_route.h
+++ b/include/net/ip6_route.h
@@ -69,7 +69,8 @@ extern void rt6_sndmsg(int type, struct in6_addr *dst,
69 int dstlen, int srclen, 69 int dstlen, int srclen,
70 int metric, __u32 flags); 70 int metric, __u32 flags);
71 71
72extern struct rt6_info *rt6_lookup(struct in6_addr *daddr, 72extern struct rt6_info *rt6_lookup(struct net *net,
73 struct in6_addr *daddr,
73 struct in6_addr *saddr, 74 struct in6_addr *saddr,
74 int oif, int flags); 75 int oif, int flags);
75 76