Home
last modified time | relevance | path

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

/linux/net/ipv4/
H A Dip_sockglue.c725 struct ip_mreq_source mreqs; in do_mcast_group_source() local
738 mreqs.imr_multiaddr = psin->sin_addr.s_addr; in do_mcast_group_source()
740 mreqs.imr_sourceaddr = psin->sin_addr.s_addr; in do_mcast_group_source()
741 mreqs.imr_interface = 0; /* use index for mc_source */ in do_mcast_group_source()
766 return ip_mc_source(add, omode, sk, &mreqs, greqs.gsr_interface); in do_mcast_group_source()
1289 struct ip_mreq_source mreqs; in do_ip_setsockopt() local
1294 if (copy_from_sockptr(&mreqs, optval, sizeof(mreqs))) { in do_ip_setsockopt()
1307 mreq.imr_multiaddr.s_addr = mreqs.imr_multiaddr; in do_ip_setsockopt()
1308 mreq.imr_address.s_addr = mreqs.imr_interface; in do_ip_setsockopt()
1319 err = ip_mc_source(add, omode, sk, &mreqs, 0); in do_ip_setsockopt()
/linux/include/linux/
H A Digmp.h119 struct ip_mreq_source *mreqs, int ifindex);