Searched refs:imr (Results 1 – 1 of 1) sorted by relevance
1827 static struct in_device *ip_mc_find_dev(struct net *net, struct ip_mreqn *imr) in ip_mc_find_dev() argument1832 if (imr->imr_ifindex) { in ip_mc_find_dev()1833 idev = inetdev_by_index(net, imr->imr_ifindex); in ip_mc_find_dev()1836 if (imr->imr_address.s_addr) { in ip_mc_find_dev()1837 dev = __ip_dev_find(net, imr->imr_address.s_addr, false); in ip_mc_find_dev()1844 imr->imr_multiaddr.s_addr, in ip_mc_find_dev()1852 imr->imr_ifindex = dev->ifindex; in ip_mc_find_dev()2172 static int __ip_mc_join_group(struct sock *sk, struct ip_mreqn *imr, in __ip_mc_join_group() argument2175 __be32 addr = imr->imr_multiaddr.s_addr; in __ip_mc_join_group()2189 in_dev = ip_mc_find_dev(net, imr); in __ip_mc_join_group()[all …]