Home
last modified time | relevance | path

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

1234

/netbsd/src/lib/libc/net/
Dgetnetnamadr.c206 h_errno = HOST_NOT_FOUND; in getnetanswer()
208 h_errno = TRY_AGAIN; in getnetanswer()
214 h_errno = NO_RECOVERY; in getnetanswer()
260 h_errno = HOST_NOT_FOUND; in getnetanswer()
275 h_errno = TRY_AGAIN; in getnetanswer()
300 h_errno = HOST_NOT_FOUND; in _files_getnetbyaddr()
347 h_errno = NETDB_INTERNAL; in _dns_getnetbyaddr()
383 h_errno = HOST_NOT_FOUND; in _dns_getnetbyaddr()
402 h_errno = NETDB_INTERNAL; in getnetbyaddr()
406 h_errno = NETDB_SUCCESS; in getnetbyaddr()
[all …]
Dgetaddrinfo.c1754 h_errno = NO_RECOVERY; in getanswer()
1759 h_errno = NO_RECOVERY; in getanswer()
1770 h_errno = NO_RECOVERY; in getanswer()
1944 h_errno = HOST_NOT_FOUND; in getanswer()
1986 h_errno = NETDB_SUCCESS; in getanswer()
1992 h_errno = ntohs(hp->ancount) > 0? NO_DATA : NO_RECOVERY; in getanswer()
2043 h_errno = NETDB_INTERNAL; in _dns_query()
2049 h_errno = NETDB_INTERNAL; in _dns_query()
2205 h_errno = NETDB_INTERNAL; in _dns_host_lookup()
2261 switch (h_errno) { in _dns_getaddrinfo()
[all …]
/netbsd/src/crypto/dist/ipsec-tools/src/racoon/
Dgetcertsbyname.c64 extern int h_errno;
139 h_errno = NO_RECOVERY; in getcertsbyname()
149 h_errno = NO_RECOVERY; in getcertsbyname()
180 h_errno = NO_RECOVERY; in getcertsbyname()
227 h_errno = NO_RECOVERY; in getcertsbyname()
254 h_errno = NO_RECOVERY; in getcertsbyname()
290 h_errno = NO_RECOVERY; in getcertsbyname()
303 h_errno = NO_RECOVERY; in getcertsbyname()
318 h_errno = NO_RECOVERY; in getcertsbyname()
/netbsd/src/lib/libc/resolv/
Dh_errno.c43 #undef h_errno
45 extern int h_errno;
57 h_errno = res->res_h_errno = err; in __h_errno_set()
Dherror.c86 #undef h_errno
87 int h_errno; variable
DMakefile.inc7 SRCS+= h_errno.c herror.c res_comp.c res_data.c res_debug.c \
Dres_state.c63 h_errno = NETDB_INTERNAL; in __weak_alias()
/netbsd/src/crypto/external/bsd/heimdal/dist/lib/roken/
Dgetipnodebyname.c41 static int h_errno = NO_RECOVERY; variable
64 switch (h_errno) { in getipnodebyname()
68 *error_num = h_errno; in getipnodebyname()
Dgetipnodebyaddr.c52 switch (h_errno) { in getipnodebyaddr()
56 *error_num = h_errno; in getipnodebyaddr()
Dh_errno.c39 int h_errno = -17; /* Some magic number */ variable
/netbsd/src/external/bsd/openldap/dist/libraries/libldap/
Dutil-int.c44 #ifndef h_errno
48 extern int h_errno;
513 *herrno_ptr = h_errno; in ldap_pvt_gethostbyname_a()
534 *herrno_ptr = h_errno; in ldap_pvt_gethostbyname_a()
579 int buflen=BUFSTART, h_errno; in ldap_pvt_get_hname() local
607 &hb, buf, buflen, &h_errno ); in ldap_pvt_get_hname()
612 &hp, &h_errno ); in ldap_pvt_get_hname()
616 (h_errno==NETDB_INTERNAL) && in ldap_pvt_get_hname()
628 *err = (char *)HSTRERROR( h_errno ); in ldap_pvt_get_hname()
639 rc = h_errno; in ldap_pvt_get_hname()
[all …]
/netbsd/src/external/bsd/libbind/dist/irs/
Dirs_data.c50 #undef h_errno
51 extern int h_errno;
231 return (&h_errno); in __h_errno()
242 h_errno = res->res_h_errno = err; in __h_errno_set()
Dgetnetent_r.c53 *h_errnop = h_errno; in getnetbyname_r()
77 *h_errnop = h_errno; in getnetbyaddr_r()
105 *h_errnop = h_errno; in getnetent_r()
/netbsd/src/lib/libbluetooth/
Dbluetooth.c89 h_errno = NO_RECOVERY; in bt_gethostbyaddr()
111 h_errno = NETDB_INTERNAL; in bt_gethostent()
116 h_errno = HOST_NOT_FOUND; in bt_gethostent()
151 h_errno = NETDB_SUCCESS; in bt_gethostent()
/netbsd/src/usr.bin/talk/
Dget_addrs.c64 hstrerror(h_errno)); in get_addrs()
69 hstrerror(h_errno)); in get_addrs()
/netbsd/src/external/bsd/libbind/dist/resolv/
Dherror.c85 #undef h_errno
86 int h_errno; variable
/netbsd/src/distrib/utils/libhack/
Dgethost.c76 int h_errno; variable
114 return gethostbyname_r(name, &h_ent, h_buf, sizeof(h_buf), &h_errno); in gethostbyname()
133 &h_errno); in gethostbyaddr()
/netbsd/src/lib/libpthread/
Dres_state.c98 h_errno = NETDB_INTERNAL; in __res_get_state()
107 h_errno = NETDB_INTERNAL; in __res_get_state()
/netbsd/src/external/bsd/ntp/dist/include/
Dl_stdlib.h222 #if defined(DECL_H_ERRNO) && !defined(h_errno)
223 extern int h_errno;
/netbsd/src/include/
Dnetdb.h136 extern int h_errno;
139 #define h_errno (*__h_errno()) macro
/netbsd/src/external/bsd/ntp/dist/libntp/
Dmachines.c38 int h_errno; variable
43h_errno = 0; /* we are always successful!!! */ in gethostbyname()
57 h_errno = 0; /* we are always successful!!! */ in gethostbyaddr()
/netbsd/src/usr.bin/btkey/
Dbtkey.c71 optarg, hstrerror(h_errno)); in main()
91 optarg, hstrerror(h_errno)); in main()
/netbsd/src/external/ibm-public/postfix/dist/src/dns/
Ddns.h66 #undef h_errno
67 #define h_errno use_dns_get_h_errno_instead_of_h_errno macro
/netbsd/src/external/bsd/openldap/dist/build/
Dopenldap.m4707 int bufsize=BUFSIZE;int h_errno;
709 …buffer, bufsize, &h_errno);]])],[ol_cv_func_gethostbyname_r_nargs5=yes],[ol_cv_func_gethostbyname_…
717 int bufsize=BUFSIZE;int h_errno;
719 …&rhent, &h_errno);]])],[ol_cv_func_gethostbyname_r_nargs6=yes],[ol_cv_func_gethostbyname_r_nargs6=…
753 int bufsize=BUFSIZE;int h_errno;
755 …alen, AF_INET, &hent, buffer, bufsize, &h_errno);]])],[ol_cv_func_gethostbyaddr_r_nargs7=yes],[ol_…
765 int bufsize=BUFSIZE;int h_errno;
768 …&rhent, &h_errno);]])],[ol_cv_func_gethostbyaddr_r_nargs8=yes],[ol_cv_func_gethostbyaddr_r_nargs8=…
/netbsd/src/external/apache2/mDNSResponder/nss/
Dnss_mdnsd.c266 h_errno = NO_RECOVERY; in _mdns_getaddrinfo()
272 h_errno = NETDB_INTERNAL; in _mdns_getaddrinfo()
333 h_errno = NETDB_INTERNAL; in _mdns_getaddrinfo_abs()
344 h_errno = HOST_NOT_FOUND; in _mdns_getaddrinfo_abs()
949 h_errno = NETDB_INTERNAL; in search_init()
1000 h_errno = HOST_NOT_FOUND; in search_init()

1234