Home
last modified time | relevance | path

Searched refs:mreq (Results 1 – 16 of 16) sorted by relevance

/external/strace/
Dnet.c642 struct ip_mreq mreq; in print_mreq() local
644 if (len < sizeof(mreq)) { in print_mreq()
648 if (umove_or_printaddr(tcp, addr, &mreq)) in print_mreq()
652 print_quoted_string(inet_ntoa(mreq.imr_multiaddr), in print_mreq()
655 print_quoted_string(inet_ntoa(mreq.imr_interface), in print_mreq()
666 struct ipv6_mreq mreq; in print_mreq6() local
668 if (len < sizeof(mreq)) in print_mreq6()
671 if (umove_or_printaddr(tcp, addr, &mreq)) in print_mreq6()
674 const struct in6_addr *in6 = &mreq.ipv6mr_multiaddr; in print_mreq6()
683 print_ifindex(mreq.ipv6mr_interface); in print_mreq6()
[all …]
Dmtd.c135 struct mtd_write_req mreq; in decode_mtd_write_req() local
138 if (umove_or_printaddr(tcp, addr, &mreq)) in decode_mtd_write_req()
144 (uint64_t) mreq.start, (uint64_t) mreq.len, in decode_mtd_write_req()
145 (uint64_t) mreq.ooblen, (uint64_t) mreq.usr_data, in decode_mtd_write_req()
146 (uint64_t) mreq.usr_oob); in decode_mtd_write_req()
147 printxval(mtd_mode_options, mreq.mode, "MTD_OPS_???"); in decode_mtd_write_req()
DChangeLog4832 if (mreq.mr_alen > ARRAY_SIZE(mreq.mr_address))
/external/wpa_supplicant_8/src/ap/
Diapp.c383 struct ip_mreqn mreq; in iapp_init() local
467 os_memset(&mreq, 0, sizeof(mreq)); in iapp_init()
468 mreq.imr_multiaddr = iapp->multicast; in iapp_init()
469 mreq.imr_address.s_addr = INADDR_ANY; in iapp_init()
470 mreq.imr_ifindex = 0; in iapp_init()
471 if (setsockopt(iapp->udp_sock, SOL_IP, IP_ADD_MEMBERSHIP, &mreq, in iapp_init()
472 sizeof(mreq)) < 0) { in iapp_init()
518 struct ip_mreqn mreq; in iapp_deinit() local
524 os_memset(&mreq, 0, sizeof(mreq)); in iapp_deinit()
525 mreq.imr_multiaddr = iapp->multicast; in iapp_deinit()
[all …]
/external/wpa_supplicant_8/src/drivers/
Ddriver_wired_common.c143 struct packet_mreq mreq; in wired_multicast_membership() local
148 os_memset(&mreq, 0, sizeof(mreq)); in wired_multicast_membership()
149 mreq.mr_ifindex = ifindex; in wired_multicast_membership()
150 mreq.mr_type = PACKET_MR_MULTICAST; in wired_multicast_membership()
151 mreq.mr_alen = ETH_ALEN; in wired_multicast_membership()
152 os_memcpy(mreq.mr_address, addr, ETH_ALEN); in wired_multicast_membership()
156 &mreq, sizeof(mreq)) < 0) { in wired_multicast_membership()
/external/iputils/
Drdisc.c1059 struct ip_mreqn mreq; in sendmcastif() local
1061 memset(&mreq, 0, sizeof(mreq)); in sendmcastif()
1062 mreq.imr_ifindex = ifp->ifindex; in sendmcastif()
1063 mreq.imr_address = ifp->localaddr; in sendmcastif()
1067 pr_name(mreq.imr_address)); in sendmcastif()
1069 (char *)&mreq, in sendmcastif()
1070 sizeof(mreq)) < 0) { in sendmcastif()
1074 pr_name(mreq.imr_address)); in sendmcastif()
1082 ifp->name, pr_name(mreq.imr_address)); in sendmcastif()
1231 struct ip_mreqn mreq; in join() local
[all …]
/external/valgrind/coregrind/m_ume/
Delf.c512 MapRequest mreq; in VG_() local
533 mreq.rkind = MAny; in VG_()
534 mreq.start = 0; in VG_()
535 mreq.len = interp_size; in VG_()
537 mreq.rkind = MHint; in VG_()
538 mreq.start = interp_addr; in VG_()
539 mreq.len = interp_size; in VG_()
542 advised = VG_(am_get_advisory)( &mreq, True/*client*/, &ok ); in VG_()
/external/valgrind/coregrind/m_syswrap/
Dsyswrap-mips32-linux.c397 MapRequest mreq; in mips_PRE_sys_mmap() local
423 mreq.start = arg1; in mips_PRE_sys_mmap()
424 mreq.len = arg2; in mips_PRE_sys_mmap()
426 mreq.rkind = MFixed; in mips_PRE_sys_mmap()
429 mreq.rkind = MHint; in mips_PRE_sys_mmap()
431 mreq.rkind = MAny; in mips_PRE_sys_mmap()
436 mreq.len = arg2 + VKI_SHMLBA - VKI_PAGE_SIZE; in mips_PRE_sys_mmap()
439 advised = VG_(am_get_advisory)( &mreq, True/*client*/, &mreq_ok ); in mips_PRE_sys_mmap()
460 if (mreq.rkind == MHint && sr_isError(sres)) { in mips_PRE_sys_mmap()
461 mreq.start = 0; in mips_PRE_sys_mmap()
[all …]
Dsyswrap-generic.c2204 MapRequest mreq; in ML_() local
2240 mreq.start = arg1; in ML_()
2241 mreq.len = arg2; in ML_()
2243 mreq.rkind = MFixed; in ML_()
2247 mreq.rkind = MAlign; in ML_()
2248 if (mreq.start == 0) { in ML_()
2249 mreq.start = VKI_PAGE_SIZE; in ML_()
2256 mreq.rkind = MHint; in ML_()
2258 mreq.rkind = MAny; in ML_()
2262 advised = VG_(am_get_advisory)( &mreq, True/*client*/, &mreq_ok ); in ML_()
[all …]
Dsyswrap-solaris.c5729 MapRequest mreq = {MAlign, max_align, span}; in mmapobj_process_phdrs() local
5731 start_addr = VG_(am_get_advisory)(&mreq, True /* forClient */, &ok); in mmapobj_process_phdrs()
/external/android-clat/
Dsetif.c135 struct ipv6_mreq mreq = { *addr, ifindex }; in do_anycast_setsockopt() local
147 ret = setsockopt(sock, SOL_IPV6, what, &mreq, sizeof(mreq)); in do_anycast_setsockopt()
/external/wpa_supplicant_8/src/wps/
Dwps_upnp_ssdp.c903 struct ip_mreq mreq; in ssdp_open_multicast_sock()
904 mreq.imr_multiaddr.s_addr = inet_addr(UPNP_MULTICAST_ADDRESS); in ssdp_open_multicast_sock()
905 mreq.imr_interface.s_addr = ip_addr; in ssdp_open_multicast_sock()
908 mreq.imr_multiaddr.s_addr, in ssdp_open_multicast_sock()
909 mreq.imr_interface.s_addr); in ssdp_open_multicast_sock()
910 if (setsockopt(sd, IPPROTO_IP, IP_ADD_MEMBERSHIP, &mreq, in ssdp_open_multicast_sock()
911 sizeof(mreq))) { in ssdp_open_multicast_sock()
/external/webrtc/webrtc/test/channel_transport/
Dudp_transport_impl.cc1386 struct ip_mreq mreq; in BindLocalRTPSocket() local
1387 mreq.imr_multiaddr.s_addr = InetAddrIPV4(_localMulticastIP); in BindLocalRTPSocket()
1388 mreq.imr_interface.s_addr = INADDR_ANY; in BindLocalRTPSocket()
1391 (int8_t*)&mreq,sizeof (mreq))) in BindLocalRTPSocket()
1458 struct ip_mreq mreq; in BindLocalRTCPSocket() local
1459 mreq.imr_multiaddr.s_addr = InetAddrIPV4(_localMulticastIP); in BindLocalRTCPSocket()
1460 mreq.imr_interface.s_addr = INADDR_ANY; in BindLocalRTCPSocket()
1463 (int8_t*)&mreq,sizeof (mreq))) in BindLocalRTCPSocket()
/external/toybox/toys/pending/
Ddhcpd.c776 struct ipv6_mreq mreq; in open_listensock6() local
807 memset(&mreq, 0, sizeof(mreq)); in open_listensock6()
808 mreq.ipv6mr_interface = if_nametoindex(gconfig.interface); in open_listensock6()
809 memcpy(&mreq.ipv6mr_multiaddr, &addr6.sin6_addr, sizeof(addr6.sin6_addr)); in open_listensock6()
811 if(setsockopt(gstate.listensock, IPPROTO_IPV6, IPV6_JOIN_GROUP, &mreq, sizeof(mreq)) == -1) { in open_listensock6()
/external/valgrind/coregrind/m_aspacemgr/
Daspacemgr-linux.c2099 MapRequest mreq; in VG_() local
2100 mreq.rkind = start==0 ? MAny : MFixed; in VG_()
2101 mreq.start = start; in VG_()
2102 mreq.len = len; in VG_()
2103 return VG_(am_get_advisory)( &mreq, True/*forClient*/, ok ); in VG_()
/external/netperf/src/
Dnettest_omni.c819 struct ip_mreq mreq; in join_multicast_addr() local
824 mreq.imr_multiaddr.s_addr=bar.s_addr; in join_multicast_addr()
825 mreq.imr_interface.s_addr=htonl(INADDR_ANY); in join_multicast_addr()
829 (const char *)&mreq, in join_multicast_addr()
830 sizeof(mreq)) == 0) { in join_multicast_addr()