/external/libpcap/tests/ |
findalldevstest.c | 92 ((struct sockaddr_in6 *)(a->addr))->sin6_addr.s6_addr, 97 ((struct sockaddr_in6 *)(a->netmask))->sin6_addr.s6_addr, 102 ((struct sockaddr_in6 *)(a->broadaddr))->sin6_addr.s6_addr, 107 ((struct sockaddr_in6 *)(a->dstaddr))->sin6_addr.s6_addr,
|
/libcore/luni/src/main/native/ |
NetworkUtilities.cpp | 35 if (ss.ss_family == AF_INET6 && IN6_IS_ADDR_V4MAPPED(&sin6.sin6_addr)) { 44 memcpy(&sin.sin_addr.s_addr, &sin6.sin6_addr.s6_addr[12], 4); 60 rawAddress = &sin6.sin6_addr.s6_addr; 165 jbyte* dst = reinterpret_cast<jbyte*>(&sin6.sin6_addr.s6_addr); 180 jbyte* dst = reinterpret_cast<jbyte*>(&sin6.sin6_addr.s6_addr[12]); 183 if (!IN6_IS_ADDR_UNSPECIFIED(&sin6.sin6_addr)) { 185 memset(&(sin6.sin6_addr.s6_addr[10]), 0xff, 2);
|
/external/android-clat/ |
dns64.c | 64 plat_addr = ((struct sockaddr_in6 *)result->ai_addr)->sin6_addr;
|
/external/ipsec-tools/src/racoon/ |
grabmyaddr.c | 198 memcpy(&sin->sin6_addr, RTA_DATA(rta_tb[IFA_LOCAL]), 16); 199 if (IN6_IS_ADDR_LINKLOCAL(&sin->sin6_addr)) 385 if (IN6_IS_ADDR_LINKLOCAL(&sin6->sin6_addr) 386 || IN6_IS_ADDR_SITELOCAL(&sin6->sin6_addr)) { 388 ntohs(*(u_int16_t *)&sin6->sin6_addr.s6_addr[2]); 389 sin6->sin6_addr.s6_addr[2] = 0; 390 sin6->sin6_addr.s6_addr[3] = 0; 396 if (IN6_IS_ADDR_LINKLOCAL(&sin6->sin6_addr) 397 || IN6_IS_ADDR_SITELOCAL(&sin6->sin6_addr)) { 512 if (IN6_IS_ADDR_LINKLOCAL(&sin6->sin6_addr) [all...] |
sockmisc.c | 113 sa1 = (caddr_t)&((struct sockaddr_in6 *)addr1)->sin6_addr; 114 sa2 = (caddr_t)&((struct sockaddr_in6 *)addr2)->sin6_addr; 173 sa1 = (caddr_t)&((struct sockaddr_in6 *)addr1)->sin6_addr; 174 sa2 = (caddr_t)&((struct sockaddr_in6 *)addr2)->sin6_addr; 236 sa1 = (caddr_t)&((struct sockaddr_in6 *)addr1)->sin6_addr; 237 sa2 = (caddr_t)&((struct sockaddr_in6 *)addr2)->sin6_addr; 445 memcpy(&sin6->sin6_addr, &pi->ipi6_addr, 446 sizeof(sin6->sin6_addr)); 448 if (IN6_IS_ADDR_LINKLOCAL(&sin6->sin6_addr)) 486 memcpy(&sin6->sin6_addr, CMSG_DATA(cm) [all...] |
/frameworks/opt/net/voip/src/jni/rtp/ |
util.cpp | 51 if (inet_pton(AF_INET6, address, &(sin6->sin6_addr)) > 0) {
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
ws2ipdef.h | 27 struct in6_addr sin6_addr; member in struct:sockaddr_in6_old 40 struct in6_addr sin6_addr; member in struct:sockaddr_in6
|
/external/tcpdump/missing/ |
getnameinfo.c | 78 offsetof(struct sockaddr_in6, sin6_addr)}, 184 switch (sin6->sin6_addr.s6_addr[0]) { 186 if (IN6_IS_ADDR_V4MAPPED(&sin6->sin6_addr)) 188 else if (IN6_IS_ADDR_LOOPBACK(&sin6->sin6_addr)) 194 if (IN6_IS_ADDR_LINKLOCAL(&sin6->sin6_addr)) { 197 else if (IN6_IS_ADDR_MULTICAST(&sin6->sin6_addr))
|
/external/iputils/ |
ping6.c | 465 offset = OFFSET_OF(struct sockaddr_in6, sin6_addr); 768 if (inet_pton(AF_INET6, addr, (char*)&source.sin6_addr) <= 0) { 871 addr = &((struct sockaddr_in6 *)(ai->ai_addr))->sin6_addr; 877 if (IN6_IS_ADDR_UNSPECIFIED(&firsthop.sin6_addr)) { 878 memcpy(&firsthop.sin6_addr, addr, 16); 901 ni_subject = &whereto.sin6_addr; 902 ni_subject_len = sizeof(whereto.sin6_addr); 939 if (IN6_IS_ADDR_UNSPECIFIED(&firsthop.sin6_addr)) { 940 memcpy(&firsthop.sin6_addr, &whereto.sin6_addr, 16) [all...] |
traceroute6.c | 450 if (inet_pton(AF_INET6, *argv, &to->sin6_addr) > 0) { 460 memmove((caddr_t)&to->sin6_addr, hp->h_addr, sizeof(to->sin6_addr)); 569 if (inet_pton(AF_INET6, source, &saddr.sin6_addr) <= 0) 586 inet_ntop(AF_INET6, &to->sin6_addr, pa, sizeof(pa))); 589 inet_ntop(AF_INET6, &saddr.sin6_addr, pa, sizeof(pa))); 613 if (memcmp(&from.sin6_addr, &lastaddr, sizeof(from.sin6_addr))) { 616 &from.sin6_addr, 876 inet_ntop(AF_INET6, &from->sin6_addr, pa1, sizeof(pa1)) [all...] |
/bionic/libc/dns/net/ |
getnameinfo.c | 82 offsetof(struct sockaddr_in6, sin6_addr)}, 248 switch (sin6->sin6_addr.s6_addr[0]) { 250 if (IN6_IS_ADDR_V4MAPPED(&sin6->sin6_addr)) 252 else if (IN6_IS_ADDR_LOOPBACK(&sin6->sin6_addr)) 258 if (IN6_IS_ADDR_LINKLOCAL(&sin6->sin6_addr)) { 261 else if (IN6_IS_ADDR_MULTICAST(&sin6->sin6_addr)) 405 a6 = &sa6->sin6_addr;
|
getaddrinfo.c | 152 offsetof(struct sockaddr_in6, sin6_addr), 394 .sin6_addr.s6_addr = { // 2000:: 1259 a6 = &sin6->sin6_addr; [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
ctrl_iface_udp.c | 80 inet_ntop(AF_INET6, &from->sin6_addr, addr, sizeof(*from)), 107 !os_memcmp(&from->sin6_addr, &dst->addr.sin6_addr, 108 sizeof(from->sin6_addr))) { 110 inet_ntop(AF_INET6, &from->sin6_addr, addr, 154 !os_memcmp(&from->sin6_addr, &dst->addr.sin6_addr, 155 sizeof(from->sin6_addr))) { 157 inet_ntop(AF_INET6, &from->sin6_addr, addr, 227 inet_ntop(AF_INET6, &from.sin6_addr, addr, sizeof(from)) [all...] |
/cts/tests/tests/net/jni/ |
NativeDnsJni.c | 51 inet_ntop(current->ai_family, &((struct sockaddr_in6 *)current->ai_addr)->sin6_addr, 84 inet_ntop(current->ai_family, &((struct sockaddr_in6 *)current->ai_addr)->sin6_addr, 111 inet_pton(AF_INET6, GoogleDNSIpV6Address2, &(sa6.sin6_addr));
|
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet6/ |
sctp6_usrreq.c | 95 temp = sin6->sin6_addr.s6_addr16[7]; 97 temp = temp | sin6->sin6_addr.s6_addr16[6]; 101 sin->sin_addr.s_addr = sin6->sin6_addr.s6_addr32[3]; 244 src.sin6_addr = ip6->ip6_src; 249 if (in6_setscope(&src.sin6_addr, m->m_pkthdr.rcvif, NULL) != 0) { 259 dst.sin6_addr = ip6->ip6_dst; 264 if (in6_setscope(&dst.sin6_addr, m->m_pkthdr.rcvif, NULL) != 0) { 269 if (faithprefix_p != NULL && (*faithprefix_p) (&dst.sin6_addr)) { 276 if (faithprefix(&dst.sin6_addr)) { 303 (IN6_ARE_ADDR_EQUAL(&src.sin6_addr, &dst.sin6_addr))) [all...] |
/frameworks/av/media/common_time/ |
utils.cpp | 48 reinterpret_cast<const int32_t*>(s->sin6_addr.s6_addr); 76 int32_t* a = reinterpret_cast<int32_t*>(s->sin6_addr.s6_addr);
|
/external/chromium_org/net/base/ |
net_util_posix.cc | 187 struct in6_addr* sin6_addr = &addr_in6->sin6_addr; 189 if (IN6_IS_ADDR_LOOPBACK(sin6_addr) || 190 IN6_IS_ADDR_UNSPECIFIED(sin6_addr)) {
|
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/ |
sctputil.h | 229 (IN6_IS_SCOPE_LINKLOCAL(&addr->sin6_addr))) { \ 236 in6_clearscope(&addr->sin6_addr); \ 244 (IN6_IS_SCOPE_LINKLOCAL(&addr->sin6_addr))) { \ 247 if (!in6_recoverscope(store, &store->sin6_addr, \ 252 in6_clearscope(&addr->sin6_addr); \
|
sctp_asconf.c | 221 memcpy((caddr_t)&sin6->sin6_addr, v6addr->addr, 223 if (IN6_IS_ADDR_MULTICAST(&sin6->sin6_addr)) { 226 if (IN6_IS_ADDR_UNSPECIFIED(&sin6->sin6_addr)) 372 memcpy(&sin6->sin6_addr, v6addr->addr, 374 if (IN6_IS_ADDR_UNSPECIFIED(&sin6->sin6_addr)) 504 memcpy((caddr_t)&sin6->sin6_addr, v6addr->addr, 506 if (IN6_IS_ADDR_UNSPECIFIED(&sin6->sin6_addr)) 856 (memcmp(&aa->ap.addrp.addr, &sin6->sin6_addr, 905 (memcmp(&v6addr->addr, &sin6->sin6_addr, [all...] |
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/fake_ppapi/ |
fake_host_resolver_interface.cc | 133 memcpy(addr.addr, &addr6.sin6_addr, sizeof(addr6.sin6_addr));
|
/development/ndk/platforms/android-3/include/linux/ |
in6.h | 36 struct in6_addr sin6_addr; member in struct:sockaddr_in6
|
/prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/linux/ |
in6.h | 36 struct in6_addr sin6_addr; member in struct:sockaddr_in6
|
/prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/linux/ |
in6.h | 36 struct in6_addr sin6_addr; member in struct:sockaddr_in6
|
/prebuilts/ndk/4/platforms/android-5/arch-arm/usr/include/linux/ |
in6.h | 36 struct in6_addr sin6_addr; member in struct:sockaddr_in6
|
/prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/linux/ |
in6.h | 36 struct in6_addr sin6_addr; member in struct:sockaddr_in6
|