Home
last modified time | relevance | path

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

/linux-6.6.21/net/ipv4/
Dip_sockglue.c727 struct ip_mreq_source mreqs; in do_mcast_group_source() local
740 mreqs.imr_multiaddr = psin->sin_addr.s_addr; in do_mcast_group_source()
742 mreqs.imr_sourceaddr = psin->sin_addr.s_addr; in do_mcast_group_source()
743 mreqs.imr_interface = 0; /* use index for mc_source */ in do_mcast_group_source()
768 return ip_mc_source(add, omode, sk, &mreqs, greqs.gsr_interface); in do_mcast_group_source()
1277 struct ip_mreq_source mreqs; in do_ip_setsockopt() local
1282 if (copy_from_sockptr(&mreqs, optval, sizeof(mreqs))) { in do_ip_setsockopt()
1295 mreq.imr_multiaddr.s_addr = mreqs.imr_multiaddr; in do_ip_setsockopt()
1296 mreq.imr_address.s_addr = mreqs.imr_interface; in do_ip_setsockopt()
1307 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 …]
/linux-6.6.21/include/linux/
Digmp.h119 struct ip_mreq_source *mreqs, int ifindex);