/illumos-gate/usr/src/lib/libresolv/ |
H A D | res_query.c | 95 h_errno = NO_RECOVERY; 104 h_errno = TRY_AGAIN; 117 h_errno = HOST_NOT_FOUND; 120 h_errno = TRY_AGAIN; 123 h_errno = NO_DATA; 129 h_errno = NO_RECOVERY; 135 h_errno = 0; 162 h_errno = HOST_NOT_FOUND; /* default, if we never query */ 195 h_errno = TRY_AGAIN; 198 if (h_errno == NO_DATA) [all …]
|
H A D | res_gethost.c | 80 int h_errno; variable 111 h_errno = NO_RECOVERY; 125 h_errno = HOST_NOT_FOUND; 127 h_errno = TRY_AGAIN; 223 h_errno = TRY_AGAIN; 247 h_errno = HOST_NOT_FOUND;
|
/illumos-gate/usr/src/lib/nsswitch/dns/common/ |
H A D | gethostent6.c | 301 he = _nss_dns_gethostbyname2(&argp->h_errno, 311 argp->h_errno = HOST_NOT_FOUND; 314 return (_herrno2nss(argp->h_errno)); 320 argp->h_errno = HOST_NOT_FOUND; 323 return (_herrno2nss(argp->h_errno)); 331 argp->h_errno = HOST_NOT_FOUND; 334 return (_herrno2nss(argp->h_errno)); 336 v6_h_errno = argp->h_errno; 355 he = _gethostbyname(&argp->h_errno, argp->key.ipnode.name); 370 argp->h_errno = HOST_NOT_FOUND; [all …]
|
H A D | gethostent.c | 143 he = _gethostbyname(&argp->h_errno, argp->key.name); 161 argp->h_errno = HOST_NOT_FOUND; 170 return (_herrno2nss(argp->h_errno)); 217 he = _gethostbyaddr(&argp->h_errno, addrp, addrlen, af); 235 argp->h_errno = HOST_NOT_FOUND; 243 return (_herrno2nss(argp->h_errno));
|
H A D | dns_mt.c | 103 extern int h_errno; 234 return (&h_errno); in __fallback_h_errno()
|
/illumos-gate/usr/src/lib/libmapid/common/ |
H A D | mapid.c | 88 return (h_errno); in resolv_error() 94 switch (h_errno) { in resolv_error() 101 msg_done[h_errno]++; in resolv_error() 102 if (!(msg_done[h_errno] % NFSMAPID_SLOG_RATE)) in resolv_error() 113 msg_done[h_errno]++; in resolv_error() 114 if (!(msg_done[h_errno] % NFSMAPID_SLOG_RATE)) in resolv_error() 124 syslog(LOG_ERR, EMSG_NO_RECOVERY, hstrerror(h_errno)); in resolv_error() 133 msg_done[h_errno]++; in resolv_error() 134 if (!(msg_done[h_errno] % NFSMAPID_SLOG_RATE)) in resolv_error() 143 return (h_errno); in resolv_error() [all …]
|
/illumos-gate/usr/src/lib/libnsl/nss/ |
H A D | gethostent.c | 47 int h_errno; variable 69 &h_errno)); in gethostbyname() 77 h_errno = 0; in gethostbyaddr() 79 return (getipnodebyaddr(addr, len, type, &h_errno)); in gethostbyaddr() 84 b->result, b->buffer, b->buflen, &h_errno)); in gethostbyaddr() 94 return (gethostent_r(b->result, b->buffer, b->buflen, &h_errno)); in gethostent()
|
H A D | getauuser.c | 125 *h_errnop = arg.h_errno; in _getauuserent() 144 arg.h_errno = AUDITUSER_NOT_FOUND; in _getauusernam() 148 *errnop = arg.h_errno; in _getauusernam()
|
H A D | getauthattr.c | 122 *h_errnop = arg.h_errno; in _getauthattr() 140 *errnop = arg.h_errno; in _getauthnam()
|
H A D | getprofattr.c | 119 *h_errnop = arg.h_errno; in _getprofattr() 137 *errnop = arg.h_errno; in _getprofnam()
|
H A D | getuserattr.c | 129 *h_errnop = arg.h_errno; in _getuserattr() 159 *errnop = arg.h_errno; in _getusernam()
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | getdxbyname.c | 72 extern int h_errno; 135 h_errno = NO_RECOVERY; in decode_answer() 141 h_errno = NO_DATA; in decode_answer() 150 h_errno = NO_RECOVERY; in decode_answer() 246 h_errno = err; in decode_answer()
|
H A D | compat.c | 41 extern int h_errno; 58 *h_errnop = h_errno; /* XXX don't see anywhere else to get this */ in nsldapi_compat_gethostbyname_r()
|
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | irs_data.c | 48 #undef h_errno 49 extern int h_errno; 230 return (&h_errno); in __h_errno() 233 return (&h_errno); in __h_errno() 244 h_errno = res->res_h_errno = err; in __h_errno_set()
|
H A D | getnetent_r.c | 47 *h_errnop = h_errno; in getnetbyname_r() 71 *h_errnop = h_errno; in getnetbyaddr_r() 99 *h_errnop = h_errno; in getnetent_r()
|
/illumos-gate/usr/src/lib/nsswitch/nis/common/ |
H A D | gethostent.c | 66 argp->h_errno = __nss2herrno(res); 73 argp->h_errno = __nss2herrno(res); 99 argp->h_errno = __nss2herrno(res);
|
H A D | gethostent6.c | 67 argp->h_errno = __nss2herrno(res); 75 argp->h_errno = __nss2herrno(res); 108 argp->h_errno = __nss2herrno(res);
|
/illumos-gate/usr/src/lib/libresolv2/common/sunw/ |
H A D | sunw_mtctxres.c | 41 #ifdef h_errno 42 #undef h_errno
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | domain.c | 280 host, errno, h_errno); 281 switch (h_errno) 314 host, h_errno); 492 h_errno == TRY_AGAIN || 505 h_errno == TRY_AGAIN || 909 save_errno, h_errno); 911 if (save_errno == ECONNREFUSED || h_errno == TRY_AGAIN) 946 if (h_errno != HOST_NOT_FOUND)
|
/illumos-gate/usr/src/lib/libresolv2/common/resolv/ |
H A D | herror.c | 78 #undef h_errno 79 int h_errno; variable
|
/illumos-gate/usr/src/lib/nsswitch/files/common/ |
H A D | gethostent6.c | 55 argp->h_errno = __nss_files_2herrno(res); 76 argp->h_errno = __nss_files_2herrno(res);
|
/illumos-gate/usr/src/cmd/sendmail/libmilter/ |
H A D | sm_gethost.c | 65 *err = h_errno; 94 h = _switch_gethostbyname_r(name, &hp, buf, sizeof(buf), &h_errno);
|
/illumos-gate/usr/src/lib/nsswitch/ldap/common/ |
H A D | gethostent6.c | 174 argp->h_errno = __nss2herrno(lstat); in getbyname() 198 argp->h_errno = 0; in getbyaddr() 230 argp->h_errno = __nss2herrno(lstat); in getbyaddr()
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/prldap/ |
H A D | ldappr-dns.c | 329 *h_errnop = arg.h_errno; in prldap_switch_gethostbyname_r() 348 int h_errno; in prldap_gethostbyname1() local 353 &prhent, buffer, buflen, &h_errno )) == PR_FAILURE) { in prldap_gethostbyname1()
|
/illumos-gate/usr/src/lib/nsswitch/mdns/common/ |
H A D | mdns_common.c | 146 data->argp->h_errno = HOST_NOT_FOUND; in _nss_mdns_queryrecord() 233 qdata->argp->h_errno = HOST_NOT_FOUND; in _nss_mdns_querynamereply() 243 qdata->argp->h_errno = HOST_NOT_FOUND; in _nss_mdns_querynamereply() 345 qdata->argp->h_errno = HOST_NOT_FOUND; in _nss_mdns_queryaddrreply() 361 qdata->argp->h_errno = HOST_NOT_FOUND; in _nss_mdns_queryaddrreply()
|