Home
last modified time | relevance | path

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

123

/netbsd-src/lib/libc/net/
H A 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 …]
H A 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/
H A Dgetcertsbyname.c64 extern int h_errno;
144 h_errno = NO_RECOVERY;
154 h_errno = NO_RECOVERY;
185 h_errno = NO_RECOVERY;
234 h_errno = NO_RECOVERY;
261 h_errno = NO_RECOVERY;
296 h_errno = NO_RECOVERY;
309 h_errno = NO_RECOVERY;
324 h_errno = NO_RECOVERY;
/netbsd-src/lib/libc/resolv/
H A Dh_errno.c43 #undef h_errno
45 extern int h_errno;
57 h_errno = res->res_h_errno = err; in __h_errno_set()
H A Dherror.c86 #undef h_errno
87 int h_errno; variable
H A DMakefile.inc7 SRCS+= h_errno.c herror.c res_comp.c res_data.c res_debug.c \
H A Dres_state.c63 h_errno = NETDB_INTERNAL; in __weak_alias()
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/roken/
H A Dgetipnodebyname.c41 static int h_errno = NO_RECOVERY; variable
64 switch (h_errno) { in getipnodebyname()
68 *error_num = h_errno; in getipnodebyname()
H A Dgetipnodebyaddr.c52 switch (h_errno) { in getipnodebyaddr()
56 *error_num = h_errno; in getipnodebyaddr()
H A Dh_errno.c39 int h_errno = -17; /* Some magic number */ variable
/netbsd-src/external/bsd/openldap/dist/libraries/libldap/
H A 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/
H A 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()
H A 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/
H A 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/
H A Dget_addrs.c64 hstrerror(h_errno)); in get_addrs()
69 hstrerror(h_errno)); in get_addrs()
/netbsd-src/external/bsd/libbind/dist/resolv/
H A Dherror.c85 #undef h_errno
86 int h_errno; variable
/netbsd-src/distrib/utils/libhack/
H A 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/
H A 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/
H A Dl_stdlib.h222 #if defined(DECL_H_ERRNO) && !defined(h_errno)
223 extern int h_errno;
/netbsd-src/include/
H A Dnetdb.h136 extern int h_errno;
139 #define h_errno (*__h_errno()) macro
/netbsd-src/usr.bin/btkey/
H A Dbtkey.c71 optarg, hstrerror(h_errno)); in main()
91 optarg, hstrerror(h_errno)); in main()
/netbsd-src/external/ibm-public/postfix/dist/src/dns/
H A 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/
H A 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/
H A 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()
/netbsd-src/usr.bin/ypwhich/
H A Dypwhich.c233 errx(1, "%s: %s", host, hstrerror(h_errno)); in find_server()
296 errx(1, "%s: %s", host, hstrerror(h_errno)); in find_mapmaster()

123