Lines Matching refs:AF_INET6

237   res->got_ipv6 = family == AF_INET6;  in convert_hostent_to_gaih_addrtuple()
251 if (family == AF_INET && req->ai_family == AF_INET6) in convert_hostent_to_gaih_addrtuple()
254 array[i].family = AF_INET6; in convert_hostent_to_gaih_addrtuple()
525 && req->ai_family == AF_INET6 in get_nscd_addresses()
535 if (air->family[i] == AF_INET && req->ai_family == AF_INET6 in get_nscd_addresses()
538 at[count].family = AF_INET6; in get_nscd_addresses()
547 if (air->family[count] == AF_INET6) in get_nscd_addresses()
685 && req->ai_family == AF_INET6 in get_nss_addresses()
689 (*pat)->family = AF_INET6; in get_nss_addresses()
703 if (req->ai_family == AF_INET6) in get_nss_addresses()
732 if (req->ai_family == AF_INET6 in get_nss_addresses()
735 if ((result = gethosts (fct, AF_INET6, name, req, tmpbuf, in get_nss_addresses()
746 || (req->ai_family == AF_INET6 in get_nss_addresses()
871 else if (req->ai_family == AF_INET6 && (req->ai_flags & AI_V4MAPPED)) in text_to_binary_address()
877 at->family = AF_INET6; in text_to_binary_address()
902 e = inet_pton (AF_INET6, name, at->addr); in text_to_binary_address()
904 e = __inet_pton_length (AF_INET6, name, scope_delim - name, at->addr); in text_to_binary_address()
908 if (req->ai_family == AF_UNSPEC || req->ai_family == AF_INET6) in text_to_binary_address()
909 at->family = AF_INET6; in text_to_binary_address()
1017 if (req->ai_family == AF_UNSPEC || req->ai_family == AF_INET6) in get_local_addresses()
1019 res->at->family = AF_INET6; in get_local_addresses()
1048 if (family == AF_INET6) in generate_addrinfo()
1090 if (family == AF_INET6) in generate_addrinfo()
1869 if (inet_pton (AF_INET6, val1, &prefix) in add_prefixlist()
2027 if (inet_pton (AF_INET6, val1, &prefix)) in gaiconf_init()
2263 if (errno == EAFNOSUPPORT && af == AF_INET6 && family == AF_INET) in try_connect()
2312 && hints->ai_family != AF_INET6) in getaddrinfo()
2466 if (fd == -1 || (af == AF_INET && q->ai_family == AF_INET6)) in getaddrinfo()
2526 if (q->ai_family == AF_INET && af == AF_INET6) in getaddrinfo()