Home
last modified time | relevance | path

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

/linux/net/ipv4/
A 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()
A Digmp.c2297 ip_mreq_source *mreqs, int ifindex) in ip_mc_source() argument
2301 __be32 addr = mreqs->imr_multiaddr; in ip_mc_source()
2315 imr.imr_multiaddr.s_addr = mreqs->imr_multiaddr; in ip_mc_source()
2316 imr.imr_address.s_addr = mreqs->imr_interface; in ip_mc_source()
2356 rv = memcmp(&psl->sl_addr[i], &mreqs->imr_sourceaddr, in ip_mc_source()
2371 ip_mc_del_src(in_dev, &mreqs->imr_multiaddr, omode, 1, in ip_mc_source()
2372 &mreqs->imr_sourceaddr, 1); in ip_mc_source()
2413 rv = memcmp(&psl->sl_addr[i], &mreqs->imr_sourceaddr, in ip_mc_source()
2422 psl->sl_addr[i] = mreqs->imr_sourceaddr; in ip_mc_source()
2426 ip_mc_add_src(in_dev, &mreqs->imr_multiaddr, omode, 1, in ip_mc_source()
[all …]
/linux/include/linux/
A Digmp.h118 struct ip_mreq_source *mreqs, int ifindex);

Completed in 12 milliseconds