Home
last modified time | relevance | path

Searched refs:AF_INET6 (Results 1 – 12 of 12) sorted by relevance

/bionic/libc/netbsd/net/
Dgetnameinfo.c118 case AF_INET6: in android_getnameinfoforiface()
258 case AF_INET6: in getnameinfo_inet()
299 case AF_INET6: in getnameinfo_inet()
357 case AF_INET6: in getnameinfo_inet()
391 if (inet_ntop(AF_INET6, addr, numaddr, sizeof(numaddr)) == NULL) in ip6_parsenumeric()
Dgetaddrinfo.c388 .sin6_family = AF_INET6, in _have_ipv6()
1062 if (cur->ai_family != AF_INET6) in explore_numeric_scope()
1153 #ifdef AF_INET6 in get_port()
1154 case AF_INET6: in get_port()
1214 case AF_INET6: in get_port()
1454 ai.ai_family = (type == T_A) ? AF_INET : AF_INET6; in getanswer()
1497 if (addr->sa_family == AF_INET6) { in _get_scope()
1561 } else if (addr->sa_family == AF_INET6) { in _get_label()
1603 } else if (addr->sa_family == AF_INET6) { in _get_precedence()
1739 if (a1->has_src_addr && a1->ai->ai_addr->sa_family == AF_INET6 && in _rfc6724_compare()
[all …]
/bionic/tests/
Dnetdb_test.cpp47 ss.ss_family = AF_INET6; in TEST()
/bionic/libc/netbsd/
Dgethnamaddr.c500 hp = gethostbyname_internal(name, AF_INET6, res, NULL, 0); in gethostbyname()
641 case AF_INET6: in gethostbyname_internal_real()
827 if (af == AF_INET6 && len == IN6ADDRSZ && in android_gethostbyaddrforiface_real()
833 if (af == AF_INET6 && len == IN6ADDRSZ && in android_gethostbyaddrforiface_real()
846 case AF_INET6: in android_gethostbyaddrforiface_real()
936 if (inet_pton(AF_INET6, p, (char *)(void *)rs->host_addr) > 0) { in _gethtent()
937 af = AF_INET6; in _gethtent()
946 af = AF_INET6; in _gethtent()
1008 hp = _gethtbyname2(name, AF_INET6); in _gethtbyname()
1178 hp->h_addrtype = AF_INET6; in map_v4v6_hostent()
[all …]
/bionic/libc/include/sys/
Dsocket.h151 #define AF_INET6 10 macro
192 #define PF_INET6 AF_INET6
/bionic/libc/upstream-netbsd/libc/inet/
Dinet_ntop.c78 case AF_INET6: in inet_ntop()
Dinet_pton.c79 case AF_INET6: in inet_pton()
/bionic/libc/netbsd/resolv/
Dres_init.c210 u[nserv].sin6.sin6_family = AF_INET6; in __res_vinit()
726 case AF_INET6: in res_setservers()
774 case AF_INET6: in res_getservers()
Dres_send.c187 case AF_INET6: in random_bind()
251 case AF_INET6: in res_ourserver_p()
687 else if (sa->sa_family == AF_INET6)
1318 case AF_INET6: in sock_eq()
Dres_debug.c681 case AF_INET6: in p_sockun()
682 inet_ntop(AF_INET6, &u.sin6.sin6_addr, ret, sizeof ret); in p_sockun()
/bionic/libc/include/netinet/
Dicmp6.h699 ((struct in6_ifextra *)((ifp)->if_afdata[AF_INET6]))->icmp6_ifstat->tag++; \
/bionic/libc/netbsd/nameser/
Dns_print.c337 (void) inet_ntop(AF_INET6, rdata, buf, buflen); in ns_sprintrrf()
693 (void) inet_ntop(AF_INET6, &a, buf, buflen); in ns_sprintrrf()