/external/curl/lib/ |
D | curl_addrinfo.c | 83 free(ca->ai_addr); in Curl_freeaddrinfo() 143 if((ai->ai_addr == NULL) || !(ai->ai_addrlen > 0)) in Curl_getaddrinfo_ex() 163 ca->ai_addr = NULL; in Curl_getaddrinfo_ex() 167 if((ca->ai_addr = malloc(ss_size)) == NULL) { in Curl_getaddrinfo_ex() 172 memcpy(ca->ai_addr, ai->ai_addr, ss_size); in Curl_getaddrinfo_ex() 177 free(ca->ai_addr); in Curl_getaddrinfo_ex() 304 if((ai->ai_addr = calloc(1, ss_size)) == NULL) { in Curl_he2ai() 331 addr = (void *)ai->ai_addr; /* storage area for this info */ in Curl_he2ai() 340 addr6 = (void *)ai->ai_addr; /* storage area for this info */ in Curl_he2ai() 489 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()
|
D | basic_resolver_iterator.hpp | 92 memcpy(endpoint.data(), address_info->ai_addr, in create()
|
/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;
|
D | getaddrinfo.h | 217 struct sockaddr *ai_addr; member
|
/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/boringssl/src/tool/ |
D | transport_common.cc | 108 reinterpret_cast<struct sockaddr_in *>(result->ai_addr); in Connect() 116 reinterpret_cast<struct sockaddr_in6 *>(result->ai_addr); in Connect() 124 if (connect(*out_sock, result->ai_addr, result->ai_addrlen) != 0) { in Connect()
|
/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()
|
D | tcpsvd.c | 250 if ((bind(sockfd, rp->ai_addr, rp->ai_addrlen)) < 0) perror_exit("Bind failed"); in create_bind_sock() 251 if(haddr) memcpy(haddr, rp->ai_addr, rp->ai_addrlen); in create_bind_sock()
|
/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/libpcap/Win32/Include/ |
D | addrinfo.h | 76 struct sockaddr *ai_addr; /* binary address */ member
|
D | ip6_misc.h | 157 struct sockaddr *ai_addr; /* binary address */ member
|
/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 | 66 memcpy(out_addr, cur->ai_addr, cur->ai_addrlen); in bio_ip_and_port_to_socket_and_addr()
|
/external/toybox/lib/ |
D | net.c | 37 if (!connect(fd, ai->ai_addr, ai->ai_addrlen)) break; in xconnect()
|
/external/ipsec-tools/src/racoon/ |
D | kmpstat.c | 226 return ai->ai_addr;
|
/external/netperf/src/ |
D | netlib.c | 728 struct sockaddr_in *foo = (struct sockaddr_in *)res->ai_addr; in random_ip_address() 748 struct sockaddr_in6 *foo = (struct sockaddr_in6 *)res->ai_addr; in random_ip_address() 3103 struct sockaddr *ai_addr; in dump_addrinfo() local 3129 ai_addr = temp->ai_addr; in dump_addrinfo() 3130 if (ai_addr != NULL) { in dump_addrinfo() 3134 inet_ftos(ai_addr->sa_family)); in dump_addrinfo() 3138 (u_char)ai_addr->sa_data[i]); in dump_addrinfo() 3299 local_res_temp->ai_addr, in establish_control_internal() 3309 remote_res_temp->ai_addr, in establish_control_internal()
|
/external/ipsec-tools/src/libipsec/ |
D | policy_parse.y | 420 if (res->ai_addr == NULL) { 432 memcpy(newaddr, res->ai_addr, res->ai_addrlen);
|
/external/dnsmasq/src/ |
D | util.c | 344 addr->in = *((struct sockaddr_in *) res->ai_addr); in parse_addr() 348 addr->in6 = *((struct sockaddr_in6 *) res->ai_addr); in parse_addr()
|
/external/iptables/libxtables/ |
D | xtoptions.c | 533 xtables_sa_host(p->ai_addr, p->ai_family), in xtopt_parse_host() 539 xtables_sa_host(p->ai_addr, p->ai_family), in xtopt_parse_host() 570 ret = ((struct sockaddr_in6 *)p->ai_addr)->sin6_port; in xtables_getportbyname() 573 ret = ((struct sockaddr_in *)p->ai_addr)->sin_port; in xtables_getportbyname() 681 memcpy(&cb->val.hmask, xtables_sa_host(res->ai_addr, res->ai_family), in xtopt_parse_mask()
|
/external/netcat/ |
D | netcat.c | 628 if (bind(s, (struct sockaddr *)ares->ai_addr, in remote_connect() 636 if (timeout_connect(s, res0->ai_addr, res0->ai_addrlen) == 0) in remote_connect() 737 if (bind(s, (struct sockaddr *)res0->ai_addr, in local_listen()
|