Searched refs:AF_INET6 (Results 1 – 13 of 13) sorted by relevance
/bionic/tests/ |
D | arpa_inet_test.cpp | 72 ASSERT_EQ(1, inet_pton(AF_INET6, "::1", &ss6)); in TEST() 78 ASSERT_STREQ("::1", inet_ntop(AF_INET6, &ss6, s6, INET_ADDRSTRLEN)); in TEST() 79 ASSERT_STREQ("::1", inet_ntop(AF_INET6, &ss6, s6, INET6_ADDRSTRLEN)); in TEST() 80 ASSERT_STREQ("::1", inet_ntop(AF_INET6, &ss6, s6, 2*INET6_ADDRSTRLEN)); in TEST()
|
D | netdb_test.cpp | 47 ss.ss_family = AF_INET6; in TEST()
|
/bionic/libc/dns/net/ |
D | getnameinfo.c | 122 case AF_INET6: in android_getnameinfofornet() 244 case AF_INET6: in getnameinfo_inet() 285 case AF_INET6: in getnameinfo_inet() 330 case AF_INET6: in getnameinfo_inet() 364 if (inet_ntop(AF_INET6, addr, numaddr, sizeof(numaddr)) == NULL) in ip6_parsenumeric()
|
D | getaddrinfo.c | 393 .sin6_family = AF_INET6, in _have_ipv6() 1069 if (cur->ai_family != AF_INET6) in explore_numeric_scope() 1160 #ifdef AF_INET6 in get_port() 1161 case AF_INET6: in get_port() 1221 case AF_INET6: in get_port() 1461 ai.ai_family = (type == T_A) ? AF_INET : AF_INET6; in getanswer() 1504 if (addr->sa_family == AF_INET6) { in _get_scope() 1568 } else if (addr->sa_family == AF_INET6) { in _get_label() 1610 } else if (addr->sa_family == AF_INET6) { in _get_precedence() 1746 if (a1->has_src_addr && a1->ai->ai_addr->sa_family == AF_INET6 && in _rfc6724_compare() [all …]
|
/bionic/libc/dns/ |
D | gethnamaddr.c | 505 hp = gethostbyname_internal(name, AF_INET6, res, NETID_UNSET, MARK_UNSET); in gethostbyname() 646 case AF_INET6: in gethostbyname_internal_real() 836 if (af == AF_INET6 && len == NS_IN6ADDRSZ && in android_gethostbyaddrfornet_real() 842 if (af == AF_INET6 && len == NS_IN6ADDRSZ && in android_gethostbyaddrfornet_real() 855 case AF_INET6: in android_gethostbyaddrfornet_real() 945 if (inet_pton(AF_INET6, p, (char *)(void *)rs->host_addr) > 0) { in _gethtent() 946 af = AF_INET6; in _gethtent() 955 af = AF_INET6; in _gethtent() 1017 hp = _gethtbyname2(name, AF_INET6); in _gethtbyname() 1187 hp->h_addrtype = AF_INET6; in map_v4v6_hostent() [all …]
|
/bionic/libc/upstream-openbsd/lib/libc/net/ |
D | inet_pton.c | 53 case AF_INET6: in inet_pton()
|
D | inet_ntop.c | 51 case AF_INET6: in inet_ntop()
|
/bionic/libc/include/sys/ |
D | socket.h | 143 #define AF_INET6 10 macro 184 #define PF_INET6 AF_INET6
|
/bionic/libc/dns/resolv/ |
D | res_init.c | 221 u[nserv].sin6.sin6_family = AF_INET6; in __res_vinit() 740 case AF_INET6: in res_setservers() 789 case AF_INET6: in res_getservers()
|
D | res_send.c | 188 case AF_INET6: in random_bind() 252 case AF_INET6: in res_ourserver_p() 687 else if (sa->sa_family == AF_INET6) 1316 case AF_INET6: in sock_eq()
|
D | res_debug.c | 743 case AF_INET6: in p_sockun() 744 inet_ntop(AF_INET6, &u.sin6.sin6_addr, ret, sizeof ret); in p_sockun()
|
/bionic/libc/include/netinet/ |
D | icmp6.h | 699 ((struct in6_ifextra *)((ifp)->if_afdata[AF_INET6]))->icmp6_ifstat->tag++; \
|
/bionic/libc/dns/nameser/ |
D | ns_print.c | 339 (void) inet_ntop(AF_INET6, rdata, buf, (socklen_t)buflen); in ns_sprintrrf() 697 (void) inet_ntop(AF_INET6, &a, buf, (socklen_t)buflen); in ns_sprintrrf() 974 (void) inet_ntop(AF_INET6, rdata, buf, (socklen_t)buflen); in ns_sprintrrf()
|