Lines Matching refs:he
114 int* he) { in getanswer() argument
143 *he = NO_RECOVERY; in getanswer()
349 *he = NO_RECOVERY; in getanswer()
365 *he = NETDB_SUCCESS; in getanswer()
369 *he = NETDB_INTERNAL; in getanswer()
516 int* he) { in netbsd_gethostent_r() argument
525 *he = NETDB_INTERNAL; in netbsd_gethostent_r()
539 *he = HOST_NOT_FOUND; in netbsd_gethostent_r()
592 *he = NETDB_SUCCESS; in netbsd_gethostent_r()
598 *he = NETDB_INTERNAL; in netbsd_gethostent_r()
638 int he; in dns_gethtbyname() local
639 n = res_nsearch(res, name, C_IN, type, {buf->buf, (int)sizeof(buf->buf)}, &he); in dns_gethtbyname()
645 return herrnoToAiErrno(he); in dns_gethtbyname()
647 hostent* hp = getanswer(buf.get(), n, name, type, info->hp, info->buf, info->buflen, &he); in dns_gethtbyname()
648 if (hp == NULL) return herrnoToAiErrno(he); in dns_gethtbyname()
700 int he; in dns_gethtbyaddr() local
701 n = res_nquery(&res, qbuf, C_IN, T_PTR, {buf->buf, (int)sizeof(buf->buf)}, &he); in dns_gethtbyaddr()
707 return herrnoToAiErrno(he); in dns_gethtbyaddr()
709 hostent* hp = getanswer(buf.get(), n, qbuf, T_PTR, info->hp, info->buf, info->buflen, &he); in dns_gethtbyaddr()
710 if (hp == NULL) return herrnoToAiErrno(he); in dns_gethtbyaddr()
732 int herrnoToAiErrno(int he) { in herrnoToAiErrno() argument
733 switch (he) { in herrnoToAiErrno()