Home
last modified time | relevance | path

Searched refs:h_errno (Results 1 – 25 of 64) sorted by relevance

123

/illumos-gate/usr/src/lib/libresolv/
H A Dres_query.c95 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;
195 h_errno = TRY_AGAIN;
198 if (h_errno == NO_DATA)
200 if ((h_errno != HOST_NOT_FOUND && h_errno != NO_DATA) ||
[all …]
H A Dres_gethost.c80 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 Dgethostent6.c311 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;
336 v6_h_errno = argp->h_errno;
370 argp->h_errno = HOST_NOT_FOUND;
388 argp->h_errno = HOST_NOT_FOUND;
408 argp->h_errno = v6_h_errno;
428 argp->h_errno = HOST_NOT_FOUND;
[all …]
H A Dgethostent.c143 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 Ddns_mt.c103 extern int h_errno;
234 return (&h_errno); in __fallback_h_errno()
/illumos-gate/usr/src/lib/libmapid/common/
H A Dmapid.c88 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()
133 msg_done[h_errno]++; in resolv_error()
143 return (h_errno); in resolv_error()
192 n = h_errno = errno = 0; in resolv_init()
241 len = h_errno = errno = 0; in resolv_search()
[all …]
/illumos-gate/usr/src/lib/libnsl/nss/
H A Dgethostent.c47 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 Dgetauuser.c125 *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 Dgetauthattr.c122 *h_errnop = arg.h_errno; in _getauthattr()
140 *errnop = arg.h_errno; in _getauthnam()
H A Dgetprofattr.c119 *h_errnop = arg.h_errno; in _getprofattr()
137 *errnop = arg.h_errno; in _getprofnam()
H A Dgetuserattr.c129 *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 Dgetdxbyname.c72 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 Dcompat.c41 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 Dirs_data.c48 #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 Dgetnetent_r.c47 *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 Dgethostent.c66 argp->h_errno = __nss2herrno(res);
73 argp->h_errno = __nss2herrno(res);
99 argp->h_errno = __nss2herrno(res);
H A Dgethostent6.c67 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 Dsunw_mtctxres.c41 #ifdef h_errno
42 #undef h_errno
/illumos-gate/usr/src/lib/libresolv2/common/resolv/
H A Dherror.c78 #undef h_errno
79 int h_errno; variable
/illumos-gate/usr/src/cmd/sendmail/src/
H A Ddomain.c280 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/nsswitch/files/common/
H A Dgethostent6.c55 argp->h_errno = __nss_files_2herrno(res);
76 argp->h_errno = __nss_files_2herrno(res);
/illumos-gate/usr/src/cmd/sendmail/libmilter/
H A Dsm_gethost.c65 *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 Dgethostent6.c174 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 Dldappr-dns.c329 *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 Dmdns_common.c146 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()

123