Home
last modified time | relevance | path

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

123

/titanic_44/usr/src/lib/libresolv/
H A Dres_query.c60 int h_errno; variable
96 h_errno = NO_RECOVERY;
105 h_errno = TRY_AGAIN;
118 h_errno = HOST_NOT_FOUND;
121 h_errno = TRY_AGAIN;
124 h_errno = NO_DATA;
130 h_errno = NO_RECOVERY;
136 h_errno = 0;
163 h_errno = HOST_NOT_FOUND; /* default, if we never query */
196 h_errno = TRY_AGAIN;
[all …]
H A Dres_gethost.c77 int h_errno; variable
108 h_errno = NO_RECOVERY;
122 h_errno = HOST_NOT_FOUND;
124 h_errno = TRY_AGAIN;
220 h_errno = TRY_AGAIN;
245 h_errno = HOST_NOT_FOUND;
/titanic_44/usr/src/lib/nsswitch/dns/common/
H A Dgethostent6.c303 he = _nss_dns_gethostbyname2(&argp->h_errno,
313 argp->h_errno = HOST_NOT_FOUND;
316 return (_herrno2nss(argp->h_errno));
322 argp->h_errno = HOST_NOT_FOUND;
325 return (_herrno2nss(argp->h_errno));
333 argp->h_errno = HOST_NOT_FOUND;
336 return (_herrno2nss(argp->h_errno));
338 v6_h_errno = argp->h_errno;
357 he = _gethostbyname(&argp->h_errno, argp->key.ipnode.name);
372 argp->h_errno = HOST_NOT_FOUND;
[all …]
H A Dgethostent.c145 he = _gethostbyname(&argp->h_errno, argp->key.name);
163 argp->h_errno = HOST_NOT_FOUND;
172 return (_herrno2nss(argp->h_errno));
219 he = _gethostbyaddr(&argp->h_errno, addrp, addrlen, af);
237 argp->h_errno = HOST_NOT_FOUND;
245 return (_herrno2nss(argp->h_errno));
H A Ddns_mt.c105 extern int h_errno;
236 return (&h_errno); in __fallback_h_errno()
/titanic_44/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()
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 …]
/titanic_44/usr/src/lib/libnsl/nss/
H A Dgethostent.c49 int h_errno; variable
71 &h_errno)); in gethostbyname()
79 h_errno = 0; in gethostbyaddr()
81 return (getipnodebyaddr(addr, len, type, &h_errno)); in gethostbyaddr()
86 b->result, b->buffer, b->buflen, &h_errno)); in gethostbyaddr()
96 return (gethostent_r(b->result, b->buffer, b->buflen, &h_errno)); in gethostent()
H A Dgetauuser.c127 *h_errnop = arg.h_errno; in _getauuserent()
146 arg.h_errno = AUDITUSER_NOT_FOUND; in _getauusernam()
150 *errnop = arg.h_errno; in _getauusernam()
H A Dgetauthattr.c124 *h_errnop = arg.h_errno; in _getauthattr()
142 *errnop = arg.h_errno; in _getauthnam()
H A Dgetprofattr.c121 *h_errnop = arg.h_errno; in _getprofattr()
139 *errnop = arg.h_errno; in _getprofnam()
H A Dgetuserattr.c131 *h_errnop = arg.h_errno; in _getuserattr()
161 *errnop = arg.h_errno; in _getusernam()
/titanic_44/usr/src/lib/libldap5/sources/ldap/common/
H A Dgetdxbyname.c74 extern int h_errno;
137 h_errno = NO_RECOVERY; in decode_answer()
143 h_errno = NO_DATA; in decode_answer()
152 h_errno = NO_RECOVERY; in decode_answer()
248 h_errno = err; in decode_answer()
H A Dcompat.c43 extern int h_errno;
60 *h_errnop = h_errno; /* XXX don't see anywhere else to get this */ in nsldapi_compat_gethostbyname_r()
/titanic_44/usr/src/lib/libresolv2/common/irs/
H A Dirs_data.c52 #undef h_errno
53 extern int h_errno;
234 return (&h_errno); in __h_errno()
237 return (&h_errno); in __h_errno()
248 h_errno = res->res_h_errno = err; in __h_errno_set()
H A Dgetnetent_r.c51 *h_errnop = h_errno; in getnetbyname_r()
75 *h_errnop = h_errno; in getnetbyaddr_r()
103 *h_errnop = h_errno; in getnetent_r()
/titanic_44/usr/src/lib/nsswitch/nis/common/
H A Dgethostent.c68 argp->h_errno = __nss2herrno(res);
75 argp->h_errno = __nss2herrno(res);
101 argp->h_errno = __nss2herrno(res);
H A Dgethostent6.c69 argp->h_errno = __nss2herrno(res);
77 argp->h_errno = __nss2herrno(res);
110 argp->h_errno = __nss2herrno(res);
/titanic_44/usr/src/lib/libresolv2/common/sunw/
H A Dsunw_mtctxres.c41 #ifdef h_errno
42 #undef h_errno
/titanic_44/usr/src/lib/libresolv2/common/resolv/
H A Dherror.c83 #undef h_errno
84 int h_errno; variable
/titanic_44/usr/src/lib/nsswitch/files/common/
H A Dgethostent6.c57 argp->h_errno = __nss_files_2herrno(res);
78 argp->h_errno = __nss_files_2herrno(res);
/titanic_44/usr/src/cmd/sendmail/src/
H A Ddomain.c282 host, errno, h_errno);
283 switch (h_errno)
316 host, h_errno);
494 h_errno == TRY_AGAIN ||
507 h_errno == TRY_AGAIN ||
911 save_errno, h_errno);
913 if (save_errno == ECONNREFUSED || h_errno == TRY_AGAIN)
948 if (h_errno != HOST_NOT_FOUND)
/titanic_44/usr/src/cmd/sendmail/libmilter/
H A Dsm_gethost.c67 *err = h_errno;
96 h = _switch_gethostbyname_r(name, &hp, buf, sizeof(buf), &h_errno);
/titanic_44/usr/src/lib/nsswitch/ldap/common/
H A Dgethostent6.c176 argp->h_errno = __nss2herrno(lstat); in getbyname()
200 argp->h_errno = 0; in getbyaddr()
232 argp->h_errno = __nss2herrno(lstat); in getbyaddr()
/titanic_44/usr/src/lib/libldap5/sources/ldap/prldap/
H A Dldappr-dns.c332 *h_errnop = arg.h_errno; in prldap_switch_gethostbyname_r()
351 int h_errno; in prldap_gethostbyname1() local
356 &prhent, buffer, buflen, &h_errno )) == PR_FAILURE) { in prldap_gethostbyname1()
/titanic_44/usr/src/stand/lib/sa/
H A Dnetdb.h66 extern int h_errno;

123