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

/freebsd-10.1-release/tools/regression/netinet/ipmulticast/
H A Dipmulticast.c164 struct ip_mreq_source mreqs; local
172 memset(&mreqs, 0, sizeof(struct ip_mreq_source));
221 mreqs.imr_multiaddr = tmpgroup.sin.sin_addr;
222 mreqs.imr_interface = ifaddr.sin.sin_addr;
223 mreqs.imr_sourceaddr = ipv4_sources[i];
225 inet_ntop(AF_INET, &mreqs.imr_multiaddr, gaddrbuf,
227 inet_ntop(AF_INET, &mreqs.imr_sourceaddr, saddrbuf,
230 gaddrbuf, inet_ntoa(mreqs.imr_interface),
233 error = setsockopt(sock, IPPROTO_IP, IP_BLOCK_SOURCE, &mreqs,
257 mreqs
[all...]
/freebsd-10.1-release/sys/netinet/
H A Din_mcast.c1325 struct ip_mreq_source mreqs; local
1327 error = sooptcopyin(sopt, &mreqs,
1335 gsa->sin.sin_addr = mreqs.imr_multiaddr;
1339 ssa->sin.sin_addr = mreqs.imr_sourceaddr;
1341 if (!in_nullhost(mreqs.imr_interface))
1342 INADDR_TO_IFP(mreqs.imr_interface, ifp);
1348 __func__, inet_ntoa(mreqs.imr_interface), ifp);
1916 struct ip_mreq_source mreqs; local
1919 error = sooptcopyin(sopt, &mreqs,
1926 mreqs
2190 struct ip_mreq_source mreqs; local
[all...]

Completed in 110 milliseconds