[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>
This commit is contained in:
committed by
David S. Miller
parent
cdb1876192
commit
606a2b4862
@@ -69,7 +69,8 @@ extern void rt6_sndmsg(int type, struct in6_addr *dst,
|
||||
int dstlen, int srclen,
|
||||
int metric, __u32 flags);
|
||||
|
||||
extern struct rt6_info *rt6_lookup(struct in6_addr *daddr,
|
||||
extern struct rt6_info *rt6_lookup(struct net *net,
|
||||
struct in6_addr *daddr,
|
||||
struct in6_addr *saddr,
|
||||
int oif, int flags);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user