Home
last modified time | relevance | path

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

/linux-6.1.9/net/ipv4/
Dip_sockglue.c724 struct ip_mreq_source mreqs; in do_mcast_group_source() local
737 mreqs.imr_multiaddr = psin->sin_addr.s_addr; in do_mcast_group_source()
739 mreqs.imr_sourceaddr = psin->sin_addr.s_addr; in do_mcast_group_source()
740 mreqs.imr_interface = 0; /* use index for mc_source */ in do_mcast_group_source()
765 return ip_mc_source(add, omode, sk, &mreqs, greqs.gsr_interface); in do_mcast_group_source()
1266 struct ip_mreq_source mreqs; in do_ip_setsockopt() local
1271 if (copy_from_sockptr(&mreqs, optval, sizeof(mreqs))) { in do_ip_setsockopt()
1284 mreq.imr_multiaddr.s_addr = mreqs.imr_multiaddr; in do_ip_setsockopt()
1285 mreq.imr_address.s_addr = mreqs.imr_interface; in do_ip_setsockopt()
1296 err = ip_mc_source(add, omode, sk, &mreqs, 0); in do_ip_setsockopt()
Digmp.c2304 ip_mreq_source *mreqs, int ifindex) in ip_mc_source() argument
2308 __be32 addr = mreqs->imr_multiaddr; in ip_mc_source()
2322 imr.imr_multiaddr.s_addr = mreqs->imr_multiaddr; in ip_mc_source()
2323 imr.imr_address.s_addr = mreqs->imr_interface; in ip_mc_source()
2351 ip_mc_add_src(in_dev, &mreqs->imr_multiaddr, omode, 0, NULL, 0); in ip_mc_source()
2352 ip_mc_del_src(in_dev, &mreqs->imr_multiaddr, pmc->sfmode, 0, in ip_mc_source()
2363 rv = memcmp(&psl->sl_addr[i], &mreqs->imr_sourceaddr, in ip_mc_source()
2378 ip_mc_del_src(in_dev, &mreqs->imr_multiaddr, omode, 1, in ip_mc_source()
2379 &mreqs->imr_sourceaddr, 1); in ip_mc_source()
2421 rv = memcmp(&psl->sl_addr[i], &mreqs->imr_sourceaddr, in ip_mc_source()
[all …]
/linux-6.1.9/include/linux/
Digmp.h118 struct ip_mreq_source *mreqs, int ifindex);