Home
last modified time | relevance | path

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

/bionic/libc/netbsd/net/
Dgetnameinfo.c114 case AF_INET6: in getnameinfo()
218 case AF_INET6:
259 case AF_INET6:
304 case AF_INET6:
345 if (inet_ntop(AF_INET6, addr, numaddr, sizeof(numaddr)) == NULL)
Dgetaddrinfo.c376 .sin6_family = AF_INET6, in _have_ipv6()
864 if (cur->ai_family != AF_INET6) in explore_numeric_scope()
955 #ifdef AF_INET6 in get_port()
956 case AF_INET6: in get_port()
1016 case AF_INET6: in get_port()
1256 ai.ai_family = (type == T_A) ? AF_INET : AF_INET6; in getanswer()
1299 if (addr->sa_family == AF_INET6) { in _get_scope()
1365 } else if (addr->sa_family == AF_INET6) { in _get_label()
1406 } else if (addr->sa_family == AF_INET6) { in _get_precedence()
1541 if (a1->has_src_addr && a1->ai->ai_addr->sa_family == AF_INET6 && in _rfc3484_compare()
[all …]
/bionic/libc/netbsd/
Dgethnamaddr.c493 hp = gethostbyname_internal(name, AF_INET6, res); in gethostbyname()
539 case AF_INET6: in gethostbyname_internal()
654 if (af == AF_INET6 && len == IN6ADDRSZ && in gethostbyaddr()
660 if (af == AF_INET6 && len == IN6ADDRSZ && in gethostbyaddr()
673 case AF_INET6: in gethostbyaddr()
744 if (inet_pton(AF_INET6, p, (char *)(void *)rs->host_addr) > 0) { in _gethtent()
745 af = AF_INET6; in _gethtent()
754 af = AF_INET6; in _gethtent()
816 hp = _gethtbyname2(name, AF_INET6); in _gethtbyname()
986 hp->h_addrtype = AF_INET6; in map_v4v6_hostent()
[all …]
/bionic/libc/kernel/common/linux/
Dsocket.h122 #define AF_INET6 10 macro
154 #define PF_INET6 AF_INET6
/bionic/libc/inet/
Dinet_pton.c53 case AF_INET6: in inet_pton()
Dinet_ntop.c51 case AF_INET6: in inet_ntop()
/bionic/libc/netbsd/resolv/
Dres_send.c179 case AF_INET6: in random_bind()
243 case AF_INET6: in res_ourserver_p()
639 else if (sa->sa_family == AF_INET6)
1130 case AF_INET6: in sock_eq()
Dres_init.c256 u[nserv].sin6.sin6_family = AF_INET6; in __res_vinit()
804 case AF_INET6: in res_setservers()
852 case AF_INET6: in res_getservers()
Dres_debug.c680 case AF_INET6: in p_sockun()
681 inet_ntop(AF_INET6, &u.sin6.sin6_addr, ret, sizeof ret); in p_sockun()
/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()