/external/ltp/testcases/network/lib6/ |
D | getaddrinfo_01.c | 93 err |= pai->ai_addr == 0; in gaiv4() 94 psin = (struct sockaddr_in *)pai->ai_addr; in gaiv4() 95 if (pai->ai_addr) { in gaiv4() 170 err |= pai->ai_addr == 0; in gaiv4() 171 psin = (struct sockaddr_in *)pai->ai_addr; in gaiv4() 172 if (pai->ai_addr) { in gaiv4() 214 err |= pai->ai_addr == 0; in gaiv4() 215 psin = (struct sockaddr_in *)pai->ai_addr; in gaiv4() 216 if (pai->ai_addr) { in gaiv4() 282 err |= pai->ai_addr == 0; in gaiv4() [all …]
|
/external/curl/lib/ |
D | curl_addrinfo.c | 82 free(ca->ai_addr); in Curl_freeaddrinfo() 142 if((ai->ai_addr == NULL) || !(ai->ai_addrlen > 0)) in Curl_getaddrinfo_ex() 162 ca->ai_addr = NULL; in Curl_getaddrinfo_ex() 166 if((ca->ai_addr = malloc(ss_size)) == NULL) { in Curl_getaddrinfo_ex() 171 memcpy(ca->ai_addr, ai->ai_addr, ss_size); in Curl_getaddrinfo_ex() 176 free(ca->ai_addr); in Curl_getaddrinfo_ex() 303 if((ai->ai_addr = calloc(1, ss_size)) == NULL) { in Curl_he2ai() 330 addr = (void *)ai->ai_addr; /* storage area for this info */ in Curl_he2ai() 339 addr6 = (void *)ai->ai_addr; /* storage area for this info */ in Curl_he2ai() 488 if((ai->ai_addr = calloc(1, sizeof(struct sockaddr_un))) == NULL) { in Curl_unix2addr() [all …]
|
D | curl_addrinfo.h | 58 struct sockaddr *ai_addr; member
|
/external/parameter-framework/asio-1.10.6/include/asio/ip/ |
D | basic_resolver_query.hpp | 72 hints_.ai_addr = 0; in basic_resolver_query() 109 hints_.ai_addr = 0; in basic_resolver_query() 157 hints_.ai_addr = 0; in basic_resolver_query() 208 hints_.ai_addr = 0; in basic_resolver_query()
|
/external/openssh/openbsd-compat/ |
D | fake-rfc2553.c | 134 ai->ai_addr = (struct sockaddr *)(ai + 1); in malloc_ai() 137 ai->ai_addr->sa_family = ai->ai_family = AF_INET; in malloc_ai() 139 ((struct sockaddr_in *)(ai)->ai_addr)->sin_port = port; in malloc_ai() 140 ((struct sockaddr_in *)(ai)->ai_addr)->sin_addr.s_addr = addr; in malloc_ai()
|
/external/ltp/testcases/network/tcp_cmds/sendfile/ |
D | testsf_c.c | 77 if (!hp || !hp->ai_addr || hp->ai_addr->sa_family != AFI) { in main() 83 memcpy(&sai, hp->ai_addr, hp->ai_addrlen); in main()
|
D | testsf_s.c | 62 if (!hp || !hp->ai_addr || hp->ai_addr->sa_family != AFI) { in main() 67 memcpy(&sa, hp->ai_addr, hp->ai_addrlen); in main()
|
/external/netperf/src/missing/ |
D | getaddrinfo.c | 248 if (ai->ai_addr != NULL) 249 free(ai->ai_addr); 469 new_res->ai_addr = NULL; 474 new_res->ai_addr = (struct sockaddr *) 476 if (new_res->ai_addr == NULL) { 484 sa_in = (struct sockaddr_in *)new_res->ai_addr;
|
/external/libpcap/Win32/Src/ |
D | getaddrinfo.c | 331 pai->ai_addr = NULL; 339 hints->ai_addr || hints->ai_next) 898 sin6 = (struct sockaddr_in6 *)cur->ai_addr; 1009 ai->ai_addr = (struct sockaddr *)(ai + 1); 1010 memset(ai->ai_addr, 0, afd->a_socklen); 1012 ai->ai_addr->sa_len = afd->a_socklen; 1015 ai->ai_addr->sa_family = ai->ai_family = afd->a_af; 1016 p = (char *)(ai->ai_addr); 1095 ((struct sockaddr_in *)ai->ai_addr)->sin_port = port; 1099 ((struct sockaddr_in6 *)ai->ai_addr)->sin6_port = port;
|
/external/webrtc/webrtc/base/ |
D | ipaddress.cc | 238 if (!info || !info->ai_addr) { in IPFromAddrInfo() 241 if (info->ai_addr->sa_family == AF_INET) { in IPFromAddrInfo() 242 sockaddr_in* addr = reinterpret_cast<sockaddr_in*>(info->ai_addr); in IPFromAddrInfo() 245 } else if (info->ai_addr->sa_family == AF_INET6) { in IPFromAddrInfo() 246 sockaddr_in6* addr = reinterpret_cast<sockaddr_in6*>(info->ai_addr); in IPFromAddrInfo()
|
/external/toybox/toys/pending/ |
D | host.c | 86 a = (void *)&((struct sockaddr_in *)ai->ai_addr)->sin_addr; in host_main() 90 a = (void *)&((struct sockaddr_in6 *)ai->ai_addr)->sin6_addr; in host_main() 125 if (s < 0 || connect(s, ai->ai_addr, ai->ai_addrlen) < 0) in host_main()
|
/external/ltp/testcases/network/tcp_cmds/echo/ |
D | echoes.c | 72 if (!hp || !hp->ai_addr || hp->ai_addr->sa_family != AFI) in main() 224 memcpy(&sa, ai->ai_addr, ai->ai_addrlen); in echofile()
|
/external/ltp/testcases/network/stress/ns-tools/ |
D | ns-common.c | 488 memcpy(&greq->gr_group, mainfo_p->ai_addr, mainfo_p->ai_addrlen); in create_group_info() 537 memcpy(&gsf->gf_group, mainfo_p->ai_addr, mainfo_p->ai_addrlen); in create_source_filter() 570 memcpy(&gsf->gf_slist[idx], res->ai_addr, res->ai_addrlen); in create_source_filter()
|
D | ns-udpsender.c | 334 ((struct sockaddr_in *)(res->ai_addr))->sin_addr; in create_udp_datagram() 398 udp_p->addr_info.ai_addr, in send_udp_datagram()
|
/external/ltp/tools/netpipe-2.4-ipv6/ |
D | TCP.c | 87 memcpy(&p->prot.sin1, addr->ai_addr, addr->ai_addrlen); in Setup() 114 memcpy(&p->prot.sin1, server_addr->ai_addr, in Setup() 122 memcpy(&p->prot.sin1, server_addr->ai_addr, in Setup()
|
/external/c-ares/ |
D | ares_ipv6.h | 44 struct sockaddr *ai_addr; member
|
/external/android-clat/ |
D | dns64.c | 64 plat_addr = ((struct sockaddr_in6 *)result->ai_addr)->sin6_addr; in plat_prefix()
|
/external/tcpdump/missing/ |
D | addrinfo.h | 76 struct sockaddr *ai_addr; /* binary address */ member
|
/external/boringssl/src/tool/ |
D | transport_common.cc | 125 reinterpret_cast<struct sockaddr_in *>(result->ai_addr); in Connect() 133 reinterpret_cast<struct sockaddr_in6 *>(result->ai_addr); in Connect() 141 if (connect(*out_sock, result->ai_addr, result->ai_addrlen) != 0) { in Connect()
|
/external/libpcap/Win32/Include/ |
D | addrinfo.h | 76 struct sockaddr *ai_addr; /* binary address */ member
|
/external/syslinux/core/lwip/src/include/lwip/ |
D | netdb.h | 89 struct sockaddr *ai_addr; /* Socket address of socket. */ member
|
/external/swiftshader/src/Common/ |
D | Socket.cpp | 51 bind(socket, info->ai_addr, (int)info->ai_addrlen); in Socket()
|
/external/curl/tests/unit/ |
D | unit1305.c | 91 if((ai->ai_addr = calloc(1, ss_size)) == NULL) { in fake_ai()
|
/external/boringssl/src/crypto/bio/ |
D | socket_helper.c | 67 OPENSSL_memcpy(out_addr, cur->ai_addr, cur->ai_addrlen); in OPENSSL_MSVC_PRAGMA()
|
/external/openssh/ |
D | addrmatch.c | 216 if (ai == NULL || ai->ai_addr == NULL) in addr_pton() 220 addr_sa_to_xaddr(ai->ai_addr, ai->ai_addrlen, n) == -1) { in addr_pton()
|