diff options
| author | David S. Miller <davem@davemloft.net> | 2020-08-05 12:19:52 -0700 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2020-08-05 12:19:52 -0700 |
| commit | 273d405b4d5657dd2ad9aa6381e94ef63bb71423 (patch) | |
| tree | 6ad38dd8f878d015d35e6785416c4043070a4aec /include | |
| parent | 5845589ed652da9b65833044bd2d0bcb1d676ed0 (diff) | |
| parent | 5a6f6f579178dbeb33002d93b4f646c31348fac9 (diff) | |
Merge branch 'net-fix-a-mcast-issue-for-tipc-udp-media'
Xin Long says:
====================
net: fix a mcast issue for tipc udp media
Patch 1 is to add a function to get the dev by source address,
which will be used by Patch 2.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
| -rw-r--r-- | include/net/addrconf.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/addrconf.h b/include/net/addrconf.h index 8418b7d38468..ba3f6c15ad2b 100644 --- a/include/net/addrconf.h +++ b/include/net/addrconf.h @@ -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); |
