Searched refs:imr_ifindex (Results 1 – 4 of 4) sorted by relevance
553 if (!mreq.imr_ifindex) { in ip_setsockopt()562 mreq.imr_ifindex = dev->ifindex; in ip_setsockopt()566 dev = __dev_get_by_index(mreq.imr_ifindex); in ip_setsockopt()574 if (sk->bound_dev_if && mreq.imr_ifindex != sk->bound_dev_if) in ip_setsockopt()577 sk->protinfo.af_inet.mc_index = mreq.imr_ifindex; in ip_setsockopt()669 mreq.imr_ifindex = 0; in ip_setsockopt()699 mreq.imr_ifindex = greq.gr_interface; in ip_setsockopt()746 mreq.imr_ifindex = greqs.gsr_interface; in ip_setsockopt()750 greqs.gsr_interface = mreq.imr_ifindex; in ip_setsockopt()
1294 if (imr->imr_ifindex) { in ip_mc_find_dev()1295 idev = inetdev_by_index(imr->imr_ifindex); in ip_mc_find_dev()1312 imr->imr_ifindex = dev->ifindex; in ip_mc_find_dev()1684 (!imr->imr_ifindex || iml->multi.imr_ifindex==imr->imr_ifindex)) { in ip_mc_leave_group()1687 in_dev = inetdev_by_index(iml->multi.imr_ifindex); in ip_mc_leave_group()1731 imr.imr_ifindex = ifindex; in ip_mc_source()1851 imr.imr_ifindex = ifindex; in ip_mc_msfilter()1862 pmc->multi.imr_ifindex == imr.imr_ifindex) in ip_mc_msfilter()1921 imr.imr_ifindex = 0; in ip_mc_msfget()1932 pmc->multi.imr_ifindex == imr.imr_ifindex) in ip_mc_msfget()[all …]
118 int imr_ifindex; /* Interface index */ member
410 mreq.imr_ifindex = dev->ifindex; in join_mcast_group()