Searched refs:have_ipv6 (Results 1 – 1 of 1) sorted by relevance
815 int have_ipv4 = 0, have_ipv6 = 0; in resolve_hostname() local822 while (cur && !have_ipv4 && !have_ipv6) { in resolve_hostname()828 else if (!have_ipv6 && cur->ai_family == AF_INET6) { in resolve_hostname()831 have_ipv6 = 1; in resolve_hostname()844 do_ipv6 &= have_ipv6; in resolve_hostname()