/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/ |
D | host_resolver_test.cc | 100 ASSERT_NE(NULL_ADDR, ai->ai_addr); in TEST_F() 103 in = (struct sockaddr_in*)ai->ai_addr; in TEST_F() 121 ASSERT_NE(NULL_ADDR, ai->ai_addr); in TEST_F() 122 in = (struct sockaddr_in*)ai->ai_addr; in TEST_F() 130 ASSERT_NE(NULL_ADDR, ai->ai_addr); in TEST_F() 131 in = (struct sockaddr_in*)ai->ai_addr; in TEST_F() 163 ASSERT_NE(NULL_ADDR, ai->ai_addr); in TEST_F() 165 in = (struct sockaddr_in*)ai->ai_addr; in TEST_F() 175 ASSERT_NE(NULL_ADDR, ai->ai_addr); in TEST_F() 177 in6 = (struct sockaddr_in6*)ai->ai_addr; in TEST_F() [all …]
|
/external/qemu/util/ |
D | qemu-sockets.c | 72 i6 = (void*)e->ai_addr; in inet_getport() 75 i4 = (void*)e->ai_addr; in inet_getport() 89 i6 = (void*)e->ai_addr; in inet_setport() 93 i4 = (void*)e->ai_addr; in inet_setport() 116 getnameinfo((struct sockaddr*)e->ai_addr,e->ai_addrlen, in inet_print_addrinfo() 173 getnameinfo((struct sockaddr*)e->ai_addr,e->ai_addrlen, in inet_listen_opts() 193 if (bind(slisten, e->ai_addr, e->ai_addrlen) == 0) { in inet_listen_opts() 275 if (getnameinfo((struct sockaddr*)e->ai_addr,e->ai_addrlen, in inet_connect_opts() 290 if (connect(sock,e->ai_addr,e->ai_addrlen) < 0) { in inet_connect_opts() 383 if (getnameinfo((struct sockaddr*)local->ai_addr,local->ai_addrlen, in inet_dgram_opts() [all …]
|
/external/libpcap/Win32/Src/ |
D | getaddrinfo.c | 336 pai->ai_addr = NULL; 344 hints->ai_addr || hints->ai_next) 903 sin6 = (struct sockaddr_in6 *)cur->ai_addr; 1014 ai->ai_addr = (struct sockaddr *)(ai + 1); 1015 memset(ai->ai_addr, 0, afd->a_socklen); 1017 ai->ai_addr->sa_len = afd->a_socklen; 1020 ai->ai_addr->sa_family = ai->ai_family = afd->a_af; 1021 p = (char *)(ai->ai_addr); 1100 ((struct sockaddr_in *)ai->ai_addr)->sin_port = port; 1104 ((struct sockaddr_in6 *)ai->ai_addr)->sin6_port = port;
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/ |
D | host_resolver.cc | 62 ai->ai_addr = reinterpret_cast<sockaddr*>(in); in CreateAddrInfo() 70 ai->ai_addr = reinterpret_cast<sockaddr*>(in); in CreateAddrInfo() 189 sockaddr_in* in = reinterpret_cast<sockaddr_in*>(current->ai_addr); in gethostbyname() 194 sockaddr_in6* in6 = reinterpret_cast<sockaddr_in6*>(current->ai_addr); in gethostbyname() 218 free(cur->ai_addr); in freeaddrinfo()
|
/external/chromium_org/third_party/webrtc/base/ |
D | ipaddress.cc | 229 if (!info || !info->ai_addr) { in IPFromAddrInfo() 232 if (info->ai_addr->sa_family == AF_INET) { in IPFromAddrInfo() 233 sockaddr_in* addr = reinterpret_cast<sockaddr_in*>(info->ai_addr); in IPFromAddrInfo() 236 } else if (info->ai_addr->sa_family == AF_INET6) { in IPFromAddrInfo() 237 sockaddr_in6* addr = reinterpret_cast<sockaddr_in6*>(info->ai_addr); in IPFromAddrInfo()
|
/external/chromium_org/third_party/boringssl/src/tool/ |
D | client.cc | 92 reinterpret_cast<struct sockaddr_in *>(result->ai_addr); in Connect() 100 reinterpret_cast<struct sockaddr_in6 *>(result->ai_addr); in Connect() 108 if (connect(*out_sock, result->ai_addr, result->ai_addrlen) != 0) { in Connect()
|
/external/openssl/patches/ |
D | 0006-fix_clang_build.patch | 21 - memcpy(&server, res->ai_addr, addrlen); 23 + memcpy(&server, res->ai_addr, (size_t)addrlen);
|
/external/lldb/source/Host/common/ |
D | SocketAddress.cpp | 166 addr_info->ai_addr && in operator =() 171 addr_info->ai_addr, in operator =()
|
/external/chromium_org/net/base/ |
D | address_list_unittest.cc | 31 ai.ai_addr = reinterpret_cast<sockaddr*>(&address); in TEST() 62 ai[i].ai_addr = storage[i].addr; in TEST()
|
D | address_list.cc | 69 if (ipe.FromSockAddr(ai->ai_addr, ai->ai_addrlen)) in CreateFromAddrinfo()
|
/external/chromium_org/net/dns/ |
D | host_resolver_proc.cc | 31 reinterpret_cast<struct sockaddr_in*>(ai->ai_addr); in IsAllLocalhostOfOneFamily() 41 reinterpret_cast<struct sockaddr_in6*>(ai->ai_addr); in IsAllLocalhostOfOneFamily()
|
/external/chromium_org/net/tools/flip_server/ |
D | create_listener.cc | 174 if (bind(sock, results->ai_addr, results->ai_addrlen)) { in CreateListeningSocket() 279 if (connect(sock, results->ai_addr, results->ai_addrlen)) { in CreateConnectedSocket()
|
/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 | 78 struct sockaddr *ai_addr; /* binary address */ member
|
/external/netperf/ |
D | netlib.c | 2557 struct sockaddr *ai_addr; in dump_addrinfo() local 2585 ai_addr = temp->ai_addr; in dump_addrinfo() 2586 if (ai_addr != NULL) { in dump_addrinfo() 2589 inet_ftos(ai_addr->sa_family), in dump_addrinfo() 2590 (u_char)ai_addr->sa_data[0], in dump_addrinfo() 2591 (u_char)ai_addr->sa_data[1], in dump_addrinfo() 2592 (u_char)ai_addr->sa_data[2], in dump_addrinfo() 2593 (u_char)ai_addr->sa_data[3], in dump_addrinfo() 2594 (u_char)ai_addr->sa_data[4], in dump_addrinfo() 2595 (u_char)ai_addr->sa_data[5]); in dump_addrinfo() [all …]
|
/external/libpcap/Win32/Include/ |
D | addrinfo.h | 78 struct sockaddr *ai_addr; /* binary address */ member
|
D | ip6_misc.h | 159 struct sockaddr *ai_addr; /* binary address */ member
|
/external/chromium_org/third_party/boringssl/src/crypto/bio/ |
D | socket_helper.c | 63 memcpy(out_addr, cur->ai_addr, cur->ai_addrlen); in bio_ip_and_port_to_socket_and_addr()
|
/external/ipsec-tools/src/racoon/ |
D | kmpstat.c | 226 return ai->ai_addr;
|
/external/chromium_org/native_client_sdk/src/libraries/third_party/newlib-extras/ |
D | netdb.h | 142 struct sockaddr *ai_addr; /* binary address */ member
|
/external/chromium_org/tools/android/forwarder2/ |
D | socket.cc | 272 reinterpret_cast<sockaddr_in*>(res->ai_addr), in Resolve() 277 reinterpret_cast<sockaddr_in6*>(res->ai_addr), in Resolve()
|
/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/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()
|
/external/chromium_org/third_party/npapi/npspy/extern/nspr/md/ |
D | _osf1.h | 82 struct sockaddr *ai_addr; member
|