usr/src/cmd/cmd-inet/usr.sbin/in.routed/rtquery.c
174
hstrerror(h_errno));
usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/ipsecconf.c
3020
int h_errno;
usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/ipsecconf.c
3043
hp = getipnodebyname(addr_str, AF_INET6, AI_DEFAULT | AI_ALL, &h_errno);
usr/src/cmd/ldap/ns_ldap/ldapaddent.c
2191
static char *h_errno2str(int h_errno);
usr/src/cmd/ldap/ns_ldap/ldapaddent.c
4726
h_errno2str(int h_errno)
usr/src/cmd/ldap/ns_ldap/ldapaddent.c
4728
switch (h_errno) {
usr/src/cmd/nscd/nscd_switch.c
379
res_str, db, op, src, arg->erange, hstrerror(arg->h_errno),
usr/src/cmd/nscd/nscd_switch.c
380
arg->h_errno);
usr/src/cmd/nscd/nscd_switch.c
956
arg->h_errno = phdr->p_herrno;
usr/src/cmd/sendmail/include/sm/conf.h
2753
# if NAMED_BIND && !defined( __ksr__ ) && !defined( h_errno )
usr/src/cmd/sendmail/include/sm/conf.h
2754
extern int h_errno;
usr/src/cmd/sendmail/include/sm/conf.h
2927
# define SM_SET_H_ERRNO(err) h_errno = (err)
usr/src/cmd/sendmail/libmilter/sm_gethost.c
65
*err = h_errno;
usr/src/cmd/sendmail/libmilter/sm_gethost.c
94
h = _switch_gethostbyname_r(name, &hp, buf, sizeof(buf), &h_errno);
usr/src/cmd/sendmail/src/conf.c
4240
*err = h_errno;
usr/src/cmd/sendmail/src/conf.c
4255
*err = h_errno;
usr/src/cmd/sendmail/src/conf.c
4287
h = _switch_gethostbyname_r(name, &hp, buf, sizeof(buf), &h_errno);
usr/src/cmd/sendmail/src/conf.c
4436
buf, sizeof(buf), &h_errno);
usr/src/cmd/sendmail/src/conf.c
4617
h_errno
usr/src/cmd/sendmail/src/daemon.c
2376
h_errno == TRY_AGAIN ||
usr/src/cmd/sendmail/src/daemon.c
4097
s->s_namecanon.nc_herrno = h_errno;
usr/src/cmd/sendmail/src/daemon.c
4099
sm_dprintf("FAIL (%d)\n", h_errno);
usr/src/cmd/sendmail/src/daemon.c
4100
switch (h_errno)
usr/src/cmd/sendmail/src/daemon.c
798
h_errno == TRY_AGAIN ? "TEMP" : "FAIL");
usr/src/cmd/sendmail/src/deliver.c
2148
mci->mci_herrno = h_errno;
usr/src/cmd/sendmail/src/deliver.c
4025
if (h_errno == TRY_AGAIN)
usr/src/cmd/sendmail/src/deliver.c
4026
statmsg = sm_errstring(h_errno + E_DNSBASE);
usr/src/cmd/sendmail/src/deliver.c
4074
else if (status == EX_NOHOST && h_errno != 0)
usr/src/cmd/sendmail/src/deliver.c
4076
statmsg = sm_errstring(h_errno + E_DNSBASE);
usr/src/cmd/sendmail/src/deliver.c
5819
mci->mci_herrno = h_errno;
usr/src/cmd/sendmail/src/domain.c
280
host, errno, h_errno);
usr/src/cmd/sendmail/src/domain.c
281
switch (h_errno)
usr/src/cmd/sendmail/src/domain.c
314
host, h_errno);
usr/src/cmd/sendmail/src/domain.c
492
h_errno == TRY_AGAIN ||
usr/src/cmd/sendmail/src/domain.c
505
h_errno == TRY_AGAIN ||
usr/src/cmd/sendmail/src/domain.c
909
save_errno, h_errno);
usr/src/cmd/sendmail/src/domain.c
911
if (save_errno == ECONNREFUSED || h_errno == TRY_AGAIN)
usr/src/cmd/sendmail/src/domain.c
946
if (h_errno != HOST_NOT_FOUND)
usr/src/cmd/sendmail/src/map.c
1251
if (h_errno == TRY_AGAIN || transienterror(errno))
usr/src/head/netdb.h
366
extern int h_errno;
usr/src/head/nss_dbdefs.h
477
int h_errno; /* For gethost*_r() */
usr/src/head/nss_dbdefs.h
666
(str)->h_errno = 0, \
usr/src/head/nss_dbdefs.h
678
(str)->h_errno = 0, \
usr/src/lib/gss_mechs/mech_krb5/include/port-sockets.h
88
extern int h_errno; /* In case it's missing, e.g., HP-UX 10.20. */
usr/src/lib/gss_mechs/mech_krb5/support/fake-addrinfo.c
168
{ TMP = gethostbyname (NAME); (ERR) = h_errno; (HP) = TMP; }
usr/src/lib/gss_mechs/mech_krb5/support/fake-addrinfo.c
170
{ TMP = gethostbyaddr ((ADDR), (ADDRLEN), (FAMILY)); (ERR) = h_errno; (HP) = TMP; }
usr/src/lib/gss_mechs/mech_krb5/support/fake-addrinfo.c
182
(ERR) = h_errno; \
usr/src/lib/libc/port/gen/nss_common.c
1679
if (strcmp(dbn, NSS_DBNAM_AUTHATTR) == 0 && in->h_errno != 0)
usr/src/lib/libc/port/gen/nss_common.c
1680
pbuf->p_herrno = (uint32_t)in->h_errno;
usr/src/lib/libc/port/gen/nss_common.c
1860
in->h_errno = (int)pbuf->p_herrno;
usr/src/lib/libc/port/gen/nss_common.c
1914
in->h_errno = (int)pbuf->p_herrno;
usr/src/lib/libc/port/gen/nss_common.c
1988
in->h_errno = (int)pbuf->p_herrno;
usr/src/lib/libc/port/gen/nss_dbdefs.c
1212
arg->h_errno = (int)pbuf->p_herrno;
usr/src/lib/libc/port/gen/nss_dbdefs.c
1238
arg->h_errno = 0;
usr/src/lib/libc/port/gen/nss_dbdefs.c
791
pbuf->p_herrno = (uint32_t)arg->h_errno;
usr/src/lib/libc/port/gen/nss_dbdefs.c
829
pbuf->p_herrno = (uint32_t)arg->h_errno;
usr/src/lib/libldap5/sources/ldap/common/compat.c
41
extern int h_errno;
usr/src/lib/libldap5/sources/ldap/common/compat.c
58
*h_errnop = h_errno; /* XXX don't see anywhere else to get this */
usr/src/lib/libldap5/sources/ldap/common/getdxbyname.c
135
h_errno = NO_RECOVERY;
usr/src/lib/libldap5/sources/ldap/common/getdxbyname.c
141
h_errno = NO_DATA;
usr/src/lib/libldap5/sources/ldap/common/getdxbyname.c
150
h_errno = NO_RECOVERY;
usr/src/lib/libldap5/sources/ldap/common/getdxbyname.c
246
h_errno = err;
usr/src/lib/libldap5/sources/ldap/common/getdxbyname.c
72
extern int h_errno;
usr/src/lib/libldap5/sources/ldap/prldap/ldappr-dns.c
329
*h_errnop = arg.h_errno;
usr/src/lib/libldap5/sources/ldap/prldap/ldappr-dns.c
348
int h_errno;
usr/src/lib/libldap5/sources/ldap/prldap/ldappr-dns.c
353
&prhent, buffer, buflen, &h_errno )) == PR_FAILURE) {
usr/src/lib/libldap5/sources/ldap/ssldap/ldapsinit.c
1148
*h_errnop = arg.h_errno;
usr/src/lib/libldap5/sources/ldap/ssldap/ldapsinit.c
1169
int h_errno;
usr/src/lib/libldap5/sources/ldap/ssldap/ldapsinit.c
1188
buffer, buflen, &h_errno);
usr/src/lib/libldap5/sources/ldap/ssldap/ldapsinit.c
1194
buffer, buflen, &h_errno);
usr/src/lib/libmapid/common/mapid.c
101
msg_done[h_errno]++;
usr/src/lib/libmapid/common/mapid.c
102
if (!(msg_done[h_errno] % NFSMAPID_SLOG_RATE))
usr/src/lib/libmapid/common/mapid.c
113
msg_done[h_errno]++;
usr/src/lib/libmapid/common/mapid.c
114
if (!(msg_done[h_errno] % NFSMAPID_SLOG_RATE))
usr/src/lib/libmapid/common/mapid.c
124
syslog(LOG_ERR, EMSG_NO_RECOVERY, hstrerror(h_errno));
usr/src/lib/libmapid/common/mapid.c
133
msg_done[h_errno]++;
usr/src/lib/libmapid/common/mapid.c
134
if (!(msg_done[h_errno] % NFSMAPID_SLOG_RATE))
usr/src/lib/libmapid/common/mapid.c
143
return (h_errno);
usr/src/lib/libmapid/common/mapid.c
192
n = h_errno = errno = 0;
usr/src/lib/libmapid/common/mapid.c
241
len = h_errno = errno = 0;
usr/src/lib/libmapid/common/mapid.c
412
syslog(LOG_ERR, "h_errno: %s", hstrerror(h_errno));
usr/src/lib/libmapid/common/mapid.c
445
n = h_errno = errno = 0;
usr/src/lib/libmapid/common/mapid.c
88
return (h_errno);
usr/src/lib/libmapid/common/mapid.c
94
switch (h_errno) {
usr/src/lib/libnsl/nss/getauthattr.c
122
*h_errnop = arg.h_errno;
usr/src/lib/libnsl/nss/getauthattr.c
140
*errnop = arg.h_errno;
usr/src/lib/libnsl/nss/getauuser.c
125
*h_errnop = arg.h_errno;
usr/src/lib/libnsl/nss/getauuser.c
144
arg.h_errno = AUDITUSER_NOT_FOUND;
usr/src/lib/libnsl/nss/getauuser.c
148
*errnop = arg.h_errno;
usr/src/lib/libnsl/nss/getexecattr.c
156
*errnop = arg.h_errno;
usr/src/lib/libnsl/nss/gethostent.c
47
int h_errno;
usr/src/lib/libnsl/nss/gethostent.c
69
&h_errno));
usr/src/lib/libnsl/nss/gethostent.c
77
h_errno = 0;
usr/src/lib/libnsl/nss/gethostent.c
79
return (getipnodebyaddr(addr, len, type, &h_errno));
usr/src/lib/libnsl/nss/gethostent.c
84
b->result, b->buffer, b->buflen, &h_errno));
usr/src/lib/libnsl/nss/gethostent.c
94
return (gethostent_r(b->result, b->buffer, b->buflen, &h_errno));
usr/src/lib/libnsl/nss/gethostent6.c
94
*h_errnop = arg.h_errno;
usr/src/lib/libnsl/nss/gethostent_r.c
98
*h_errnop = arg.h_errno;
usr/src/lib/libnsl/nss/getprofattr.c
119
*h_errnop = arg.h_errno;
usr/src/lib/libnsl/nss/getprofattr.c
137
*errnop = arg.h_errno;
usr/src/lib/libnsl/nss/getuserattr.c
129
*h_errnop = arg.h_errno;
usr/src/lib/libnsl/nss/getuserattr.c
159
*errnop = arg.h_errno;
usr/src/lib/libnsl/nss/netdir_inet.c
1260
_herrno2nss(int h_errno)
usr/src/lib/libnsl/nss/netdir_inet.c
1262
switch (h_errno) {
usr/src/lib/libnsl/nss/netdir_inet.c
1318
*h_errnop = arg.h_errno ? arg.h_errno : __nss2herrno(res);
usr/src/lib/libnsl/nss/netdir_inet.c
1340
*h_errnop = arg.h_errno ? arg.h_errno : __nss2herrno(res);
usr/src/lib/libnsl/nss/netdir_inet.c
1362
*h_errnop = arg.h_errno ? arg.h_errno : __nss2herrno(res);
usr/src/lib/libnsl/nss/netdir_inet.c
1382
*h_errnop = arg.h_errno ? arg.h_errno : __nss2herrno(res);
usr/src/lib/libresolv/netdb.h
197
extern int h_errno;
usr/src/lib/libresolv/res_gethost.c
111
h_errno = NO_RECOVERY;
usr/src/lib/libresolv/res_gethost.c
125
h_errno = HOST_NOT_FOUND;
usr/src/lib/libresolv/res_gethost.c
127
h_errno = TRY_AGAIN;
usr/src/lib/libresolv/res_gethost.c
223
h_errno = TRY_AGAIN;
usr/src/lib/libresolv/res_gethost.c
247
h_errno = HOST_NOT_FOUND;
usr/src/lib/libresolv/res_gethost.c
80
int h_errno;
usr/src/lib/libresolv/res_mkquery.c
149
h_errno = NO_RECOVERY;
usr/src/lib/libresolv/res_mkquery.c
155
h_errno = NO_RECOVERY;
usr/src/lib/libresolv/res_query.c
104
h_errno = TRY_AGAIN;
usr/src/lib/libresolv/res_query.c
117
h_errno = HOST_NOT_FOUND;
usr/src/lib/libresolv/res_query.c
120
h_errno = TRY_AGAIN;
usr/src/lib/libresolv/res_query.c
123
h_errno = NO_DATA;
usr/src/lib/libresolv/res_query.c
129
h_errno = NO_RECOVERY;
usr/src/lib/libresolv/res_query.c
135
h_errno = 0;
usr/src/lib/libresolv/res_query.c
162
h_errno = HOST_NOT_FOUND; /* default, if we never query */
usr/src/lib/libresolv/res_query.c
195
h_errno = TRY_AGAIN;
usr/src/lib/libresolv/res_query.c
198
if (h_errno == NO_DATA)
usr/src/lib/libresolv/res_query.c
200
if ((h_errno != HOST_NOT_FOUND && h_errno != NO_DATA) ||
usr/src/lib/libresolv/res_query.c
216
h_errno = NO_DATA;
usr/src/lib/libresolv/res_query.c
95
h_errno = NO_RECOVERY;
usr/src/lib/libresolv2/common/irs/getaddrinfo.c
651
int e = h_errno;
usr/src/lib/libresolv2/common/irs/gethostent.c
975
h_errno = NETDB_INTERNAL;
usr/src/lib/libresolv2/common/irs/getnetent_r.c
47
*h_errnop = h_errno;
usr/src/lib/libresolv2/common/irs/getnetent_r.c
71
*h_errnop = h_errno;
usr/src/lib/libresolv2/common/irs/getnetent_r.c
99
*h_errnop = h_errno;
usr/src/lib/libresolv2/common/irs/irs_data.c
230
return (&h_errno);
usr/src/lib/libresolv2/common/irs/irs_data.c
233
return (&h_errno);
usr/src/lib/libresolv2/common/irs/irs_data.c
244
h_errno = res->res_h_errno = err;
usr/src/lib/libresolv2/common/irs/irs_data.c
49
extern int h_errno;
usr/src/lib/libresolv2/common/resolv/herror.c
79
int h_errno;
usr/src/lib/libresolv2/common/sunw/sunw_mtctxres.c
41
#ifdef h_errno
usr/src/lib/libresolv2/include/port_before.h
104
#define HOST_R_ERRNO *h_errnop = h_errno
usr/src/lib/libsldap/common/ns_standalone.c
444
arg.h_errno = NETDB_SUCCESS;
usr/src/lib/libsldap/common/ns_standalone.c
448
*h_errnop = arg.h_errno;
usr/src/lib/libsldap/common/ns_standalone.c
540
arg.h_errno = NETDB_SUCCESS;
usr/src/lib/libsldap/common/ns_standalone.c
545
arg.h_errno = NETDB_SUCCESS;
usr/src/lib/libsldap/common/ns_standalone.c
550
*h_errnop = arg.h_errno;
usr/src/lib/libtsnet/common/tsol_getrhent.c
71
arg.h_errno = TSOL_NOT_FOUND;
usr/src/lib/libtsnet/common/tsol_gettpent.c
65
arg.h_errno = TSOL_NOT_FOUND;
usr/src/lib/nsswitch/dns/common/dns_mt.c
103
extern int h_errno;
usr/src/lib/nsswitch/dns/common/dns_mt.c
234
return (&h_errno);
usr/src/lib/nsswitch/dns/common/gethostent.c
143
he = _gethostbyname(&argp->h_errno, argp->key.name);
usr/src/lib/nsswitch/dns/common/gethostent.c
161
argp->h_errno = HOST_NOT_FOUND;
usr/src/lib/nsswitch/dns/common/gethostent.c
170
return (_herrno2nss(argp->h_errno));
usr/src/lib/nsswitch/dns/common/gethostent.c
217
he = _gethostbyaddr(&argp->h_errno, addrp, addrlen, af);
usr/src/lib/nsswitch/dns/common/gethostent.c
235
argp->h_errno = HOST_NOT_FOUND;
usr/src/lib/nsswitch/dns/common/gethostent.c
243
return (_herrno2nss(argp->h_errno));
usr/src/lib/nsswitch/dns/common/gethostent6.c
301
he = _nss_dns_gethostbyname2(&argp->h_errno,
usr/src/lib/nsswitch/dns/common/gethostent6.c
311
argp->h_errno = HOST_NOT_FOUND;
usr/src/lib/nsswitch/dns/common/gethostent6.c
314
return (_herrno2nss(argp->h_errno));
usr/src/lib/nsswitch/dns/common/gethostent6.c
320
argp->h_errno = HOST_NOT_FOUND;
usr/src/lib/nsswitch/dns/common/gethostent6.c
323
return (_herrno2nss(argp->h_errno));
usr/src/lib/nsswitch/dns/common/gethostent6.c
331
argp->h_errno = HOST_NOT_FOUND;
usr/src/lib/nsswitch/dns/common/gethostent6.c
334
return (_herrno2nss(argp->h_errno));
usr/src/lib/nsswitch/dns/common/gethostent6.c
336
v6_h_errno = argp->h_errno;
usr/src/lib/nsswitch/dns/common/gethostent6.c
355
he = _gethostbyname(&argp->h_errno, argp->key.ipnode.name);
usr/src/lib/nsswitch/dns/common/gethostent6.c
370
argp->h_errno = HOST_NOT_FOUND;
usr/src/lib/nsswitch/dns/common/gethostent6.c
374
return (_herrno2nss(argp->h_errno));
usr/src/lib/nsswitch/dns/common/gethostent6.c
388
argp->h_errno = HOST_NOT_FOUND;
usr/src/lib/nsswitch/dns/common/gethostent6.c
392
return (_herrno2nss(argp->h_errno));
usr/src/lib/nsswitch/dns/common/gethostent6.c
408
argp->h_errno = v6_h_errno;
usr/src/lib/nsswitch/dns/common/gethostent6.c
428
argp->h_errno = HOST_NOT_FOUND;
usr/src/lib/nsswitch/dns/common/gethostent6.c
448
return (_herrno2nss(argp->h_errno));
usr/src/lib/nsswitch/files/common/gethostent.c
125
argp->h_errno = __nss_files_2herrno(res);
usr/src/lib/nsswitch/files/common/gethostent.c
221
argp->h_errno = __nss_files_2herrno(res);
usr/src/lib/nsswitch/files/common/gethostent6.c
55
argp->h_errno = __nss_files_2herrno(res);
usr/src/lib/nsswitch/files/common/gethostent6.c
76
argp->h_errno = __nss_files_2herrno(res);
usr/src/lib/nsswitch/ldap/common/gethostent.c
355
argp->h_errno = __nss2herrno(lstat);
usr/src/lib/nsswitch/ldap/common/gethostent.c
383
argp->h_errno = 0;
usr/src/lib/nsswitch/ldap/common/gethostent.c
405
argp->h_errno = __nss2herrno(lstat);
usr/src/lib/nsswitch/ldap/common/gethostent6.c
174
argp->h_errno = __nss2herrno(lstat);
usr/src/lib/nsswitch/ldap/common/gethostent6.c
198
argp->h_errno = 0;
usr/src/lib/nsswitch/ldap/common/gethostent6.c
230
argp->h_errno = __nss2herrno(lstat);
usr/src/lib/nsswitch/ldap/common/ldap_common.c
237
argp->h_errno = HOST_NOT_FOUND;
usr/src/lib/nsswitch/mdns/common/gethostent.c
70
argp->h_errno = 0;
usr/src/lib/nsswitch/mdns/common/gethostent6.c
72
argp->h_errno = 0;
usr/src/lib/nsswitch/mdns/common/mdns_common.c
146
data->argp->h_errno = HOST_NOT_FOUND;
usr/src/lib/nsswitch/mdns/common/mdns_common.c
233
qdata->argp->h_errno = HOST_NOT_FOUND;
usr/src/lib/nsswitch/mdns/common/mdns_common.c
243
qdata->argp->h_errno = HOST_NOT_FOUND;
usr/src/lib/nsswitch/mdns/common/mdns_common.c
345
qdata->argp->h_errno = HOST_NOT_FOUND;
usr/src/lib/nsswitch/mdns/common/mdns_common.c
361
qdata->argp->h_errno = HOST_NOT_FOUND;
usr/src/lib/nsswitch/nis/common/gethostent.c
66
argp->h_errno = __nss2herrno(res);
usr/src/lib/nsswitch/nis/common/gethostent.c
73
argp->h_errno = __nss2herrno(res);
usr/src/lib/nsswitch/nis/common/gethostent.c
99
argp->h_errno = __nss2herrno(res);
usr/src/lib/nsswitch/nis/common/gethostent6.c
108
argp->h_errno = __nss2herrno(res);
usr/src/lib/nsswitch/nis/common/gethostent6.c
67
argp->h_errno = __nss2herrno(res);
usr/src/lib/nsswitch/nis/common/gethostent6.c
75
argp->h_errno = __nss2herrno(res);
usr/src/stand/lib/sa/netdb.h
66
extern int h_errno;