Home
last modified time | relevance | path

Searched refs:mreqs (Results 1 – 2 of 2) sorted by relevance

/net/ipv4/
Dip_sockglue.c731 struct ip_mreq_source mreqs; in do_mcast_group_source() local
744 mreqs.imr_multiaddr = psin->sin_addr.s_addr; in do_mcast_group_source()
746 mreqs.imr_sourceaddr = psin->sin_addr.s_addr; in do_mcast_group_source()
747 mreqs.imr_interface = 0; /* use index for mc_source */ in do_mcast_group_source()
772 return ip_mc_source(add, omode, sk, &mreqs, greqs.gsr_interface); in do_mcast_group_source()
1271 struct ip_mreq_source mreqs; in do_ip_setsockopt() local
1276 if (copy_from_sockptr(&mreqs, optval, sizeof(mreqs))) { in do_ip_setsockopt()
1289 mreq.imr_multiaddr.s_addr = mreqs.imr_multiaddr; in do_ip_setsockopt()
1290 mreq.imr_address.s_addr = mreqs.imr_interface; in do_ip_setsockopt()
1301 err = ip_mc_source(add, omode, sk, &mreqs, 0); in do_ip_setsockopt()
Digmp.c2307 ip_mreq_source *mreqs, int ifindex) in ip_mc_source() argument
2311 __be32 addr = mreqs->imr_multiaddr; in ip_mc_source()
2325 imr.imr_multiaddr.s_addr = mreqs->imr_multiaddr; in ip_mc_source()
2326 imr.imr_address.s_addr = mreqs->imr_interface; in ip_mc_source()
2354 ip_mc_add_src(in_dev, &mreqs->imr_multiaddr, omode, 0, NULL, 0); in ip_mc_source()
2355 ip_mc_del_src(in_dev, &mreqs->imr_multiaddr, pmc->sfmode, 0, in ip_mc_source()
2366 rv = memcmp(&psl->sl_addr[i], &mreqs->imr_sourceaddr, in ip_mc_source()
2381 ip_mc_del_src(in_dev, &mreqs->imr_multiaddr, omode, 1, in ip_mc_source()
2382 &mreqs->imr_sourceaddr, 1); in ip_mc_source()
2424 rv = memcmp(&psl->sl_addr[i], &mreqs->imr_sourceaddr, in ip_mc_source()
[all …]