/cts/tests/tests/net/jni/ |
NativeDnsJni.c | 106 struct sockaddr_in6 sa6; local 107 sa6.sin6_family = AF_INET6; 108 sa6.sin6_port = 0; 109 sa6.sin6_flowinfo = 0; 110 sa6.sin6_scope_id = 0; 111 inet_pton(AF_INET6, GoogleDNSIpV6Address2, &(sa6.sin6_addr)); 129 res = getnameinfo((const struct sockaddr*)&sa6, sizeof(sa6), buf, sizeof(buf), NULL, 0, flags);
|
/external/chromium_org/net/dns/ |
dns_config_service_posix_unittest.cc | 64 struct sockaddr_in6 *sa6; local 65 sa6 = (struct sockaddr_in6 *)malloc(sizeof(*sa6)); 66 sa6->sin6_family = AF_INET6; 67 sa6->sin6_port = base::HostToNet16(NS_DEFAULTPORT - i); 68 inet_pton(AF_INET6, kNameserversIPv6[i], &sa6->sin6_addr); 69 res->_u._ext.nsaddrs[i] = sa6;
|
/bionic/libc/dns/net/ |
getnameinfo.c | 395 ip6_sa2str(const struct sockaddr_in6 *sa6, char *buf, size_t bufsiz, int flags) 401 assert(sa6 != NULL); 404 ifindex = (unsigned int)sa6->sin6_scope_id; 405 a6 = &sa6->sin6_addr; 409 n = snprintf(buf, bufsiz, "%u", sa6->sin6_scope_id); 427 n = snprintf(buf, bufsiz, "%u", sa6->sin6_scope_id);
|
/bionic/libm/upstream-freebsd/lib/msun/src/ |
s_erf.c | 168 sa6 = 1.08635005541779435134e+02, /* 0x405B28A3, 0xEE48AE2C */ variable 228 sa5+s*(sa6+s*(sa7+s*sa8))))))); 285 sa5+s*(sa6+s*(sa7+s*sa8)))))));
|
/external/fdlibm/ |
s_erf.c | 169 sa6 = 1.08635005541779435134e+02, /* 0x405B28A3, 0xEE48AE2C */ variable 233 sa5+s*(sa6+s*(sa7+s*sa8))))))); 294 sa5+s*(sa6+s*(sa7+s*sa8)))))));
|
/external/strace/ |
net.c | 169 struct sockaddr_in6 sa6; member in union:__anon35070 224 inet_ntop(AF_INET6, &addrbuf.sa6.sin6_addr, string_addr, sizeof(string_addr)); 226 ntohs(addrbuf.sa6.sin6_port), string_addr, 227 addrbuf.sa6.sin6_flowinfo); 232 if (IN6_IS_ADDR_LINKLOCAL(&addrbuf.sa6.sin6_addr) 233 || IN6_IS_ADDR_MC_LINKLOCAL(&addrbuf.sa6.sin6_addr)) { 236 if (if_indextoname(addrbuf.sa6.sin6_scope_id, scopebuf) == NULL) 245 tprintf(", sin6_scope_id=%u", addrbuf.sa6.sin6_scope_id);
|
/external/libnl/lib/ |
addr.c | 645 struct sockaddr_in6 *sa6 = (struct sockaddr_in6 *) sa; local 647 if (*salen < sizeof(*sa6)) 650 sa6->sin6_family = addr->a_family; 651 memcpy(&sa6->sin6_addr, addr->a_addr, 16); 652 *salen = sizeof(*sa6);
|
/external/chromium_org/third_party/usrsctp/usrsctplib/ |
user_recv_thread.c | 208 struct sockaddr_in6 *sa6; 254 sa6 = (struct sockaddr_in6 *)malloc(sizeof(struct sockaddr_in6)); 255 sa6->sin6_family = rtmsg->ifa_family; 256 sa6->sin6_port = 0; 257 memcpy(&sa6->sin6_addr, inp, sizeof(struct in6_addr)); 258 sctp_handle_ifamsg(nh->nlmsg_type, rtmsg->ifa_index, (struct sockaddr *)sa6); [all...] |
/external/mdnsresponder/mDNSShared/ |
DebugServices.c | 2871 struct sockaddr_in6 sa6; local [all...] |
dnssd_clientstub.c | 1266 struct sockaddr_in6 sa6; local [all...] |
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/ |
sctp_output.c | 5519 struct sockaddr_in6 sin6, *sa6; local [all...] |