Searched refs:have_ipv4 (Results 1 – 1 of 1) sorted by relevance
810 int have_ipv4 = 0, have_ipv6 = 0; in resolve_hostname() local817 while (cur && !have_ipv4 && !have_ipv6) { in resolve_hostname()818 if (!have_ipv4 && cur->ai_family == AF_INET) { in resolve_hostname()821 have_ipv4 = 1; in resolve_hostname()838 do_ipv4 &= have_ipv4; in resolve_hostname()