/external/strace/ |
D | net.c | 642 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 inet_ntoa(mreq.imr_multiaddr)); in print_mreq() 654 inet_ntoa(mreq.imr_interface)); in print_mreq() 663 struct ipv6_mreq mreq; in print_mreq6() local 665 if (len < sizeof(mreq)) { in print_mreq6() 669 if (umove_or_printaddr(tcp, addr, &mreq)) in print_mreq6() 673 print_inet_addr(AF_INET6, &mreq.ipv6mr_multiaddr, in print_mreq6() 674 sizeof(mreq.ipv6mr_multiaddr), "ipv6mr_multiaddr"); in print_mreq6() [all …]
|
D | mtd.c | 136 struct mtd_write_req mreq; in decode_mtd_write_req() local 139 if (umove_or_printaddr(tcp, addr, &mreq)) in decode_mtd_write_req() 145 (uint64_t) mreq.start, (uint64_t) mreq.len, in decode_mtd_write_req() 146 (uint64_t) mreq.ooblen, (uint64_t) mreq.usr_data, in decode_mtd_write_req() 147 (uint64_t) mreq.usr_oob); in decode_mtd_write_req() 148 printxval(mtd_mode_options, mreq.mode, "MTD_OPS_???"); in decode_mtd_write_req()
|
D | ChangeLog | 9378 if (mreq.mr_alen > ARRAY_SIZE(mreq.mr_address))
|
/external/wpa_supplicant_8/src/ap/ |
D | iapp.c | 383 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/ |
D | driver_wired_common.c | 143 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/python/cpython2/Demo/sockets/ |
D | mcast.py | 66 mreq = group_bin + struct.pack('=I', socket.INADDR_ANY) 67 s.setsockopt(socket.IPPROTO_IP, socket.IP_ADD_MEMBERSHIP, mreq) 69 mreq = group_bin + struct.pack('@I', 0) 70 s.setsockopt(socket.IPPROTO_IPV6, socket.IPV6_JOIN_GROUP, mreq)
|
/external/iputils/ |
D | rdisc.c | 1059 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_syswrap/ |
D | syswrap-mips32-linux.c | 281 MapRequest mreq; in mips_PRE_sys_mmap() local 307 mreq.start = arg1; in mips_PRE_sys_mmap() 308 mreq.len = arg2; in mips_PRE_sys_mmap() 310 mreq.rkind = MFixed; in mips_PRE_sys_mmap() 313 mreq.rkind = MHint; in mips_PRE_sys_mmap() 315 mreq.rkind = MAny; in mips_PRE_sys_mmap() 320 mreq.len = arg2 + VKI_SHMLBA - VKI_PAGE_SIZE; in mips_PRE_sys_mmap() 323 advised = VG_(am_get_advisory)( &mreq, True/*client*/, &mreq_ok ); in mips_PRE_sys_mmap() 344 if (mreq.rkind == MHint && sr_isError(sres)) { in mips_PRE_sys_mmap() 345 mreq.start = 0; in mips_PRE_sys_mmap() [all …]
|
D | syswrap-generic.c | 2225 MapRequest mreq; in ML_() local 2261 mreq.start = arg1; in ML_() 2262 mreq.len = arg2; in ML_() 2264 mreq.rkind = MFixed; in ML_() 2268 mreq.rkind = MAlign; in ML_() 2269 if (mreq.start == 0) { in ML_() 2270 mreq.start = VKI_PAGE_SIZE; in ML_() 2277 mreq.rkind = MHint; in ML_() 2279 mreq.rkind = MAny; in ML_() 2283 advised = VG_(am_get_advisory)( &mreq, True/*client*/, &mreq_ok ); in ML_() [all …]
|
D | syswrap-solaris.c | 5940 MapRequest mreq = {MAlign, max_align, span}; in mmapobj_process_phdrs() local 5942 start_addr = VG_(am_get_advisory)(&mreq, True /* forClient */, &ok); in mmapobj_process_phdrs()
|
/external/android-clat/ |
D | setif.c | 135 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/valgrind/coregrind/m_ume/ |
D | elf.c | 784 MapRequest mreq; in VG_() local 805 mreq.rkind = MAny; in VG_() 806 mreq.start = 0; in VG_() 807 mreq.len = interp_size; in VG_() 809 mreq.rkind = MHint; in VG_() 810 mreq.start = interp_addr; in VG_() 811 mreq.len = interp_size; in VG_() 814 advised = VG_(am_get_advisory)( &mreq, True/*client*/, &ok ); in VG_()
|
/external/wpa_supplicant_8/src/wps/ |
D | wps_upnp_ssdp.c | 903 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/ |
D | udp_transport_impl.cc | 1386 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/ |
D | dhcpd.c | 776 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/ |
D | aspacemgr-linux.c | 2115 MapRequest mreq; in VG_() local 2116 mreq.rkind = start==0 ? MAny : MFixed; in VG_() 2117 mreq.start = start; in VG_() 2118 mreq.len = len; in VG_() 2119 return VG_(am_get_advisory)( &mreq, True/*forClient*/, ok ); in VG_()
|
/external/netperf/src/ |
D | nettest_omni.c | 819 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()
|