HomeSort by relevance Sort by last modified time
    Searched full:ai_addr (Results 1 - 25 of 176) sorted by null

1 2 3 4 5 6 7 8

  /cts/tests/tests/net/jni/
NativeDnsJni.c 46 if (current->ai_addr->sa_family == AF_INET) {
47 inet_ntop(current->ai_family, &((struct sockaddr_in *)current->ai_addr)->sin_addr,
51 } else if (current->ai_addr->sa_family == AF_INET6) {
52 inet_ntop(current->ai_family, &((struct sockaddr_in6 *)current->ai_addr)->sin6_addr,
79 if (current->ai_addr->sa_family == AF_INET) {
80 inet_ntop(current->ai_family, &((struct sockaddr_in *)current->ai_addr)->sin_addr,
84 } else if (current->ai_addr->sa_family == AF_INET6) {
85 inet_ntop(current->ai_family, &((struct sockaddr_in6 *)current->ai_addr)->sin6_addr,
NativeMultinetworkJni.c 154 sockaddr_ntop(res->ai_addr, res->ai_addrlen, addrstr, sizeof(addrstr));
157 rval = connect(fd, res->ai_addr, res->ai_addrlen);
  /external/openssh/openbsd-compat/
fake-rfc2553.c 134 ai->ai_addr = (struct sockaddr *)(ai + 1);
137 ai->ai_addr->sa_family = ai->ai_family = AF_INET;
139 ((struct sockaddr_in *)(ai)->ai_addr)->sin_port = port;
140 ((struct sockaddr_in *)(ai)->ai_addr)->sin_addr.s_addr = addr;
fake-rfc2553.h 145 size_t ai_addrlen; /* length of ai_addr */
147 struct sockaddr *ai_addr; /* binary address */ member in struct:addrinfo
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
wspiapi.h 124 n->ai_addr = (struct sockaddr *) pa;
172 ((struct sockaddr_in *) p->ai_addr)->sin_addr.s_addr);
193 if (p->ai_addr)
194 WspiapiFree (p->ai_addr);
ws2tcpip.h 185 struct sockaddr *ai_addr; member in struct:addrinfo
196 struct sockaddr *ai_addr; member in struct:addrinfoW
303 struct sockaddr *ai_addr; member in struct:addrinfoExA
317 struct sockaddr *ai_addr; member in struct:addrinfoExW
  /external/tcpdump/missing/
addrinfo.h 76 size_t ai_addrlen; /* length of ai_addr */
78 struct sockaddr *ai_addr; /* binary address */ member in struct:addrinfo
  /libcore/luni/src/main/java/android/system/
StructAddrinfo.java 47 public InetAddress ai_addr; field in class:StructAddrinfo
  /external/libpcap/Win32/Src/
getaddrinfo.c 282 /* no need to free(ai->ai_addr) */
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
    [all...]
  /bionic/libc/dns/net/
getaddrinfo.c 338 /* no need to free(ai->ai_addr) */
476 ai->ai_addr = (struct sockaddr*)(ai + 1);
483 // socklen_t ai_addrlen; /* length of ai_addr */
485 // struct sockaddr *ai_addr; /* binary address */
502 // Set ai_addrlen and read the ai_addr data.
509 if (fread(ai->ai_addr, addr_len, 1, proxy) != 1) {
607 pai->ai_addr = NULL;
615 hints->ai_addr || hints->ai_next)
1062 sin6 = (struct sockaddr_in6 *)(void *)cur->ai_addr;
1109 ai->ai_addr = (struct sockaddr *)(void *)(ai + 1)
    [all...]
  /external/boringssl/src/tool/
transport_common.cc 108 reinterpret_cast<struct sockaddr_in *>(result->ai_addr);
116 reinterpret_cast<struct sockaddr_in6 *>(result->ai_addr);
124 if (connect(*out_sock, result->ai_addr, result->ai_addrlen) != 0) {
  /external/toybox/toys/pending/
host.c 86 a = (void *)&((struct sockaddr_in *)ai->ai_addr)->sin_addr;
90 a = (void *)&((struct sockaddr_in6 *)ai->ai_addr)->sin6_addr;
125 if (s < 0 || connect(s, ai->ai_addr, ai->ai_addrlen) < 0)
  /bionic/tests/
netdb_test.cpp 37 ASSERT_EQ(25U, ntohs(reinterpret_cast<sockaddr_in*>(ai->ai_addr)->sin_port));
76 ASSERT_EQ(25, ntohs(reinterpret_cast<sockaddr_in*>(ai->ai_addr)->sin_port));
107 ASSERT_TRUE(ai->ai_addr != NULL);
108 sockaddr_in6 *addr = reinterpret_cast<sockaddr_in6*>(ai->ai_addr);
  /external/android-clat/
dns64.c 64 plat_addr = ((struct sockaddr_in6 *)result->ai_addr)->sin6_addr;
  /external/boringssl/src/crypto/bio/
socket_helper.c 65 memcpy(out_addr, cur->ai_addr, cur->ai_addrlen);
  /external/libpcap/Win32/Include/
addrinfo.h 76 size_t ai_addrlen; /* length of ai_addr */
78 struct sockaddr *ai_addr; /* binary address */ member in struct:addrinfo
ip6_misc.h 157 size_t ai_addrlen; /* length of ai_addr */
159 struct sockaddr *ai_addr; /* binary address */ member in struct:addrinfo
  /system/netd/server/
NetdConstants.cpp 188 sockaddr_in *sin = (sockaddr_in *) res[0].ai_addr;
197 sockaddr_in6 *sin6 = (sockaddr_in6 *) res[0].ai_addr;
DnsProxyListener.cpp 127 // socklen_t ai_addrlen; /* length of ai_addr */
129 // struct sockaddr *ai_addr; /* binary address */
144 // ai_addrlen and ai_addr.
145 if (!sendLenAndData(c, ai->ai_addrlen, ai->ai_addr)) {
  /external/toybox/toys/other/
nbd_client.c 62 if (-1 != connect(sock, p->ai_addr, p->ai_addrlen)) break;
  /bionic/libc/include/
netdb.h 115 socklen_t ai_addrlen; /* length of ai_addr */
117 struct sockaddr *ai_addr; /* binary address */ member in struct:addrinfo
  /external/lldb/source/Host/common/
SocketAddress.cpp 166 addr_info->ai_addr &&
171 addr_info->ai_addr,
  /prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/
netdb.h 118 socklen_t ai_addrlen; /* length of ai_addr */
120 struct sockaddr *ai_addr; /* binary address */ member in struct:addrinfo
  /prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/
netdb.h 118 socklen_t ai_addrlen; /* length of ai_addr */
120 struct sockaddr *ai_addr; /* binary address */ member in struct:addrinfo
  /prebuilts/ndk/4/platforms/android-5/arch-arm/usr/include/
netdb.h 118 socklen_t ai_addrlen; /* length of ai_addr */
120 struct sockaddr *ai_addr; /* binary address */ member in struct:addrinfo

Completed in 2405 milliseconds

1 2 3 4 5 6 7 8