/external/chromium_org/net/udp/ |
D | udp_socket_libevent.cc | 575 ip_mreqn mreq; in SetSocketOptions() local 576 mreq.imr_ifindex = multicast_interface_; in SetSocketOptions() 577 mreq.imr_address.s_addr = htonl(INADDR_ANY); in SetSocketOptions() 579 ip_mreq mreq; in SetSocketOptions() 581 &mreq.imr_interface.s_addr); in SetSocketOptions() 586 reinterpret_cast<const char*>(&mreq), sizeof(mreq)); in SetSocketOptions() 650 ip_mreqn mreq; in JoinGroup() local 651 mreq.imr_ifindex = multicast_interface_; in JoinGroup() 652 mreq.imr_address.s_addr = htonl(INADDR_ANY); in JoinGroup() 654 ip_mreq mreq; in JoinGroup() local [all …]
|
D | udp_socket_win.cc | 737 ip_mreq mreq; in JoinGroup() local 738 mreq.imr_interface.s_addr = htonl(multicast_interface_); in JoinGroup() 739 memcpy(&mreq.imr_multiaddr, &group_address[0], kIPv4AddressSize); in JoinGroup() 741 reinterpret_cast<const char*>(&mreq), in JoinGroup() 742 sizeof(mreq)); in JoinGroup() 750 ipv6_mreq mreq; in JoinGroup() local 751 mreq.ipv6mr_interface = multicast_interface_; in JoinGroup() 752 memcpy(&mreq.ipv6mr_multiaddr, &group_address[0], kIPv6AddressSize); in JoinGroup() 754 reinterpret_cast<const char*>(&mreq), in JoinGroup() 755 sizeof(mreq)); in JoinGroup() [all …]
|
/external/wpa_supplicant_8/src/ap/ |
D | iapp.c | 387 struct ip_mreqn mreq; in iapp_init() local 458 os_memset(&mreq, 0, sizeof(mreq)); in iapp_init() 459 mreq.imr_multiaddr = iapp->multicast; in iapp_init() 460 mreq.imr_address.s_addr = INADDR_ANY; in iapp_init() 461 mreq.imr_ifindex = 0; in iapp_init() 462 if (setsockopt(iapp->udp_sock, SOL_IP, IP_ADD_MEMBERSHIP, &mreq, in iapp_init() 463 sizeof(mreq)) < 0) { in iapp_init() 509 struct ip_mreqn mreq; in iapp_deinit() local 515 os_memset(&mreq, 0, sizeof(mreq)); in iapp_deinit() 516 mreq.imr_multiaddr = iapp->multicast; in iapp_deinit() [all …]
|
/external/srtp/test/ |
D | rtpw.c | 115 leave_group(int sock, struct ip_mreq mreq, char *name); 132 struct ip_mreq mreq; in main() local 284 mreq.imr_multiaddr.s_addr = rcvr_addr.s_addr; in main() 285 mreq.imr_interface.s_addr = htonl(INADDR_ANY); in main() 286 ret = setsockopt(sock, IPPROTO_IP, IP_ADD_MEMBERSHIP, (void*)&mreq, in main() 287 sizeof(mreq)); in main() 427 leave_group(sock, mreq, argv[0]); in main() 453 leave_group(sock, mreq, argv[0]); in main() 482 leave_group(sock, mreq, argv[0]); in main() 513 leave_group(int sock, struct ip_mreq mreq, char *name) { in leave_group() argument [all …]
|
/external/chromium_org/third_party/libsrtp/srtp/test/ |
D | rtpw.c | 119 leave_group(int sock, struct ip_mreq mreq, char *name); 148 struct ip_mreq mreq; in main() local 304 mreq.imr_multiaddr.s_addr = rcvr_addr.s_addr; in main() 305 mreq.imr_interface.s_addr = htonl(INADDR_ANY); in main() 306 ret = setsockopt(sock, IPPROTO_IP, IP_ADD_MEMBERSHIP, (void*)&mreq, in main() 307 sizeof(mreq)); in main() 449 leave_group(sock, mreq, argv[0]); in main() 479 leave_group(sock, mreq, argv[0]); in main() 510 leave_group(sock, mreq, argv[0]); in main() 557 leave_group(int sock, struct ip_mreq mreq, char *name) { in leave_group() argument [all …]
|
/external/strace/ |
D | mtd.c | 60 struct mtd_write_req mreq; in mtd_ioctl() local 203 if (!verbose(tcp) || umove(tcp, arg, &mreq) < 0) in mtd_ioctl() 207 (uint64_t) mreq.start, (uint64_t) mreq.len); in mtd_ioctl() 209 (uint64_t) mreq.ooblen, (uint64_t) mreq.usr_data); in mtd_ioctl() 211 (uint64_t) mreq.usr_oob); in mtd_ioctl() 212 printxval(mtd_mode_options, mreq.mode, "MTD_OPS_???"); in mtd_ioctl()
|
/external/valgrind/main/coregrind/m_ume/ |
D | elf.c | 453 MapRequest mreq; in VG_() local 474 mreq.rkind = MAny; in VG_() 475 mreq.start = 0; in VG_() 476 mreq.len = interp_size; in VG_() 478 mreq.rkind = MHint; in VG_() 479 mreq.start = interp_addr; in VG_() 480 mreq.len = interp_size; in VG_() 483 advised = VG_(am_get_advisory)( &mreq, True/*client*/, &ok ); in VG_()
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_wired.c | 89 struct packet_mreq mreq; in wired_multicast_membership() local 94 os_memset(&mreq, 0, sizeof(mreq)); in wired_multicast_membership() 95 mreq.mr_ifindex = ifindex; in wired_multicast_membership() 96 mreq.mr_type = PACKET_MR_MULTICAST; in wired_multicast_membership() 97 mreq.mr_alen = ETH_ALEN; in wired_multicast_membership() 98 os_memcpy(mreq.mr_address, addr, ETH_ALEN); in wired_multicast_membership() 102 &mreq, sizeof(mreq)) < 0) { in wired_multicast_membership()
|
D | driver_macsec_qca.c | 80 struct packet_mreq mreq; in macsec_qca_multicast_membership() local 85 os_memset(&mreq, 0, sizeof(mreq)); in macsec_qca_multicast_membership() 86 mreq.mr_ifindex = ifindex; in macsec_qca_multicast_membership() 87 mreq.mr_type = PACKET_MR_MULTICAST; in macsec_qca_multicast_membership() 88 mreq.mr_alen = ETH_ALEN; in macsec_qca_multicast_membership() 89 os_memcpy(mreq.mr_address, addr, ETH_ALEN); in macsec_qca_multicast_membership() 93 &mreq, sizeof(mreq)) < 0) { in macsec_qca_multicast_membership()
|
/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/strace/test/ |
D | mtd.c | 19 struct mtd_write_req mreq; in main() local 43 ioctl(fd, MEMWRITE, &mreq); in main()
|
/external/valgrind/main/coregrind/m_syswrap/ |
D | syswrap-mips32-linux.c | 414 MapRequest mreq; in mips_PRE_sys_mmap() local 440 mreq.start = arg1; in mips_PRE_sys_mmap() 441 mreq.len = arg2; in mips_PRE_sys_mmap() 443 mreq.rkind = MFixed; in mips_PRE_sys_mmap() 446 mreq.rkind = MHint; in mips_PRE_sys_mmap() 448 mreq.rkind = MAny; in mips_PRE_sys_mmap() 453 mreq.len = arg2 + VKI_SHMLBA - VKI_PAGE_SIZE; in mips_PRE_sys_mmap() 456 advised = VG_(am_get_advisory)( &mreq, True/*client*/, &mreq_ok ); in mips_PRE_sys_mmap() 477 if (mreq.rkind == MHint && sr_isError(sres)) { in mips_PRE_sys_mmap() 478 mreq.start = 0; in mips_PRE_sys_mmap() [all …]
|
D | syswrap-generic.c | 2076 MapRequest mreq; in ML_() local 2121 mreq.start = arg1; in ML_() 2122 mreq.len = arg2; in ML_() 2124 mreq.rkind = MFixed; in ML_() 2127 mreq.rkind = MHint; in ML_() 2129 mreq.rkind = MAny; in ML_() 2133 advised = VG_(am_get_advisory)( &mreq, True/*client*/, &mreq_ok ); in ML_() 2149 if (mreq.rkind == MHint && sr_isError(sres)) { in ML_() 2150 mreq.start = 0; in ML_() 2151 mreq.len = arg2; in ML_() [all …]
|
/external/wpa_supplicant_8/src/wps/ |
D | wps_upnp_ssdp.c | 915 struct ip_mreq mreq; in ssdp_open_multicast_sock() 916 mreq.imr_multiaddr.s_addr = inet_addr(UPNP_MULTICAST_ADDRESS); in ssdp_open_multicast_sock() 917 mreq.imr_interface.s_addr = ip_addr; in ssdp_open_multicast_sock() 920 mreq.imr_multiaddr.s_addr, in ssdp_open_multicast_sock() 921 mreq.imr_interface.s_addr); in ssdp_open_multicast_sock() 922 if (setsockopt(sd, IPPROTO_IP, IP_ADD_MEMBERSHIP, &mreq, in ssdp_open_multicast_sock() 923 sizeof(mreq))) { in ssdp_open_multicast_sock()
|
/external/chromium_org/third_party/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/valgrind/main/coregrind/m_aspacemgr/ |
D | aspacemgr-linux.c | 2004 MapRequest mreq; in VG_() local 2005 mreq.rkind = start==0 ? MAny : MFixed; in VG_() 2006 mreq.start = start; in VG_() 2007 mreq.len = len; in VG_() 2008 return VG_(am_get_advisory)( &mreq, True/*forClient*/, ok ); in VG_()
|