/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/strace/ |
D | mtd.c | 61 struct mtd_write_req mreq; in mtd_ioctl() local 204 if (!verbose(tcp) || umove(tcp, arg, &mreq) < 0) in mtd_ioctl() 208 (uint64_t) mreq.start, (uint64_t) mreq.len); in mtd_ioctl() 210 (uint64_t) mreq.ooblen, (uint64_t) mreq.usr_data); in mtd_ioctl() 212 (uint64_t) mreq.usr_oob); in mtd_ioctl() 213 printxval(mtd_mode_options, mreq.mode, "MTD_OPS_???"); in mtd_ioctl()
|
D | net.c | 1385 struct packet_mreq mreq; in print_packet_mreq() local 1387 if (len != sizeof(mreq) || in print_packet_mreq() 1388 umove(tcp, addr, &mreq) < 0) { in print_packet_mreq() 1393 tprintf("{mr_ifindex=%u, mr_type=", mreq.mr_ifindex); in print_packet_mreq() 1394 printxval(packet_mreq_type, mreq.mr_type, "PACKET_MR_???"); in print_packet_mreq() 1395 tprintf(", mr_alen=%u, mr_address=", mreq.mr_alen); in print_packet_mreq() 1396 if (mreq.mr_alen > ARRAY_SIZE(mreq.mr_address)) in print_packet_mreq() 1397 mreq.mr_alen = ARRAY_SIZE(mreq.mr_address); in print_packet_mreq() 1398 for (i = 0; i < mreq.mr_alen; ++i) in print_packet_mreq() 1399 tprintf("%02x", mreq.mr_address[i]); in print_packet_mreq()
|
/external/valgrind/coregrind/m_ume/ |
D | elf.c | 450 MapRequest mreq; in VG_() local 471 mreq.rkind = MAny; in VG_() 472 mreq.start = 0; in VG_() 473 mreq.len = interp_size; in VG_() 475 mreq.rkind = MHint; in VG_() 476 mreq.start = interp_addr; in VG_() 477 mreq.len = interp_size; in VG_() 480 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/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_syswrap/ |
D | syswrap-mips32-linux.c | 397 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 …]
|
D | syswrap-generic.c | 2119 MapRequest mreq; in ML_() local 2164 mreq.start = arg1; in ML_() 2165 mreq.len = arg2; in ML_() 2167 mreq.rkind = MFixed; in ML_() 2170 mreq.rkind = MHint; in ML_() 2172 mreq.rkind = MAny; in ML_() 2176 advised = VG_(am_get_advisory)( &mreq, True/*client*/, &mreq_ok ); in ML_() 2192 if (mreq.rkind == MHint && sr_isError(sres)) { in ML_() 2193 mreq.start = 0; in ML_() 2194 mreq.len = arg2; in ML_() [all …]
|
/external/wpa_supplicant_8/src/wps/ |
D | wps_upnp_ssdp.c | 916 struct ip_mreq mreq; in ssdp_open_multicast_sock() 917 mreq.imr_multiaddr.s_addr = inet_addr(UPNP_MULTICAST_ADDRESS); in ssdp_open_multicast_sock() 918 mreq.imr_interface.s_addr = ip_addr; in ssdp_open_multicast_sock() 921 mreq.imr_multiaddr.s_addr, in ssdp_open_multicast_sock() 922 mreq.imr_interface.s_addr); in ssdp_open_multicast_sock() 923 if (setsockopt(sd, IPPROTO_IP, IP_ADD_MEMBERSHIP, &mreq, in ssdp_open_multicast_sock() 924 sizeof(mreq))) { in ssdp_open_multicast_sock()
|
/external/valgrind/coregrind/m_aspacemgr/ |
D | aspacemgr-linux.c | 1935 MapRequest mreq; in VG_() local 1936 mreq.rkind = start==0 ? MAny : MFixed; in VG_() 1937 mreq.start = start; in VG_() 1938 mreq.len = len; in VG_() 1939 return VG_(am_get_advisory)( &mreq, True/*forClient*/, ok ); in VG_()
|