Searched refs:dns_ok (Results 1 – 1 of 1) sorted by relevance
66 static int dns_ok = 0; variable75 dns_ok = dns_err = 0; in dns_gethostbyname_cb()130 dns_ok = type; in dns_gethostbyname_cb()140 dns_ok = 0; in dns_gethostbyname()144 if (dns_ok == DNS_IPv4_A) { in dns_gethostbyname()156 dns_ok = 0; in dns_gethostbyname6()160 if (dns_ok == DNS_IPv6_AAAA) { in dns_gethostbyname6()162 } else if (!dns_ok && dns_err == DNS_ERR_TIMEOUT) { in dns_gethostbyname6()165 fprintf(stdout, "FAILED (%d)\n", dns_ok); in dns_gethostbyname6()176 dns_ok = 0; in dns_gethostbyaddr()[all …]