Searched refs:have_ipv4 (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()823 if (!have_ipv4 && cur->ai_family == AF_INET) { in resolve_hostname()826 have_ipv4 = 1; in resolve_hostname()843 do_ipv4 &= have_ipv4; in resolve_hostname()