Home
last modified time | relevance | path

Searched refs:ai_addr (Results 1 – 25 of 73) sorted by relevance

123

/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
Dhost_resolver_test.cc100 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/
Dqemu-sockets.c72 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/
Dgetaddrinfo.c336 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/
Dhost_resolver.cc62 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/
Dipaddress.cc229 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/
Dclient.cc92 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/
D0006-fix_clang_build.patch21 - memcpy(&server, res->ai_addr, addrlen);
23 + memcpy(&server, res->ai_addr, (size_t)addrlen);
/external/lldb/source/Host/common/
DSocketAddress.cpp166 addr_info->ai_addr && in operator =()
171 addr_info->ai_addr, in operator =()
/external/chromium_org/net/base/
Daddress_list_unittest.cc31 ai.ai_addr = reinterpret_cast<sockaddr*>(&address); in TEST()
62 ai[i].ai_addr = storage[i].addr; in TEST()
Daddress_list.cc69 if (ipe.FromSockAddr(ai->ai_addr, ai->ai_addrlen)) in CreateFromAddrinfo()
/external/chromium_org/net/dns/
Dhost_resolver_proc.cc31 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/
Dcreate_listener.cc174 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/
Ddns64.c64 plat_addr = ((struct sockaddr_in6 *)result->ai_addr)->sin6_addr; in plat_prefix()
/external/tcpdump/missing/
Daddrinfo.h78 struct sockaddr *ai_addr; /* binary address */ member
/external/netperf/
Dnetlib.c2557 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/
Daddrinfo.h78 struct sockaddr *ai_addr; /* binary address */ member
Dip6_misc.h159 struct sockaddr *ai_addr; /* binary address */ member
/external/chromium_org/third_party/boringssl/src/crypto/bio/
Dsocket_helper.c63 memcpy(out_addr, cur->ai_addr, cur->ai_addrlen); in bio_ip_and_port_to_socket_and_addr()
/external/ipsec-tools/src/racoon/
Dkmpstat.c226 return ai->ai_addr;
/external/chromium_org/native_client_sdk/src/libraries/third_party/newlib-extras/
Dnetdb.h142 struct sockaddr *ai_addr; /* binary address */ member
/external/chromium_org/tools/android/forwarder2/
Dsocket.cc272 reinterpret_cast<sockaddr_in*>(res->ai_addr), in Resolve()
277 reinterpret_cast<sockaddr_in6*>(res->ai_addr), in Resolve()
/external/ipsec-tools/src/libipsec/
Dpolicy_parse.y420 if (res->ai_addr == NULL) {
432 memcpy(newaddr, res->ai_addr, res->ai_addrlen);
/external/iptables/libxtables/
Dxtoptions.c533 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/
Dnetcat.c628 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.h82 struct sockaddr *ai_addr; member

123