ipv6: add ipv6_dev_find()
This is to add an ip_dev_find like function for ipv6, used to find the dev by saddr. It will be used by TIPC protocol. So also export it. Signed-off-by: Xin Long <lucien.xin@gmail.com> Acked-by: Ying Xue <ying.xue@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
5845589ed6
commit
81f6cb3122
@@ -97,6 +97,8 @@ bool ipv6_chk_custom_prefix(const struct in6_addr *addr,
|
||||
|
||||
int ipv6_chk_prefix(const struct in6_addr *addr, struct net_device *dev);
|
||||
|
||||
struct net_device *ipv6_dev_find(struct net *net, const struct in6_addr *addr);
|
||||
|
||||
struct inet6_ifaddr *ipv6_get_ifaddr(struct net *net,
|
||||
const struct in6_addr *addr,
|
||||
struct net_device *dev, int strict);
|
||||
|
Reference in New Issue
Block a user