Home
last modified time | relevance | path

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

123

/freebsd-14.2/lib/libc/resolv/
H A Dh_errno.c33 #undef h_errno
34 extern int h_errno;
48 h_errno = res->res_h_errno = err; in __h_errno_set()
H A Dherror.c79 #undef h_errno
80 int h_errno; variable
H A DMakefile.inc5 SRCS+= herror.c h_errno.c mtctxres.c res_comp.c res_data.c res_debug.c \
H A DSymbol.map58 h_errno;
/freebsd-14.2/crypto/heimdal/lib/roken/
H A Dgetipnodebyname.c39 static int h_errno = NO_RECOVERY; variable
62 switch (h_errno) { in getipnodebyname()
66 *error_num = h_errno; in getipnodebyname()
H A Dgetipnodebyaddr.c50 switch (h_errno) { in getipnodebyaddr()
54 *error_num = h_errno; in getipnodebyaddr()
H A Dh_errno.c37 int h_errno = -17; /* Some magic number */ variable
/freebsd-14.2/contrib/sendmail/contrib/
H A Dbitdomain.c41 extern int h_errno;
174 switch (h_errno) {
232 h_errno = NO_DATA;
237 if (errno == ECONNREFUSED || h_errno == TRY_AGAIN)
240 h_errno = TRY_AGAIN;
244 if (h_errno != HOST_NOT_FOUND)
/freebsd-14.2/contrib/sendmail/libmilter/
H A Dsm_gethost.c57 *err = h_errno;
88 *err = h_errno;
120 h = _switch_gethostbyname_r(name, &hp, buf, sizeof(buf), &h_errno);
/freebsd-14.2/lib/libbluetooth/
H A Dbluetooth.c87 h_errno = NO_RECOVERY; in bt_gethostbyaddr()
109 h_errno = NETDB_INTERNAL; in bt_gethostent()
114 h_errno = HOST_NOT_FOUND; in bt_gethostent()
149 h_errno = NETDB_SUCCESS; in bt_gethostent()
/freebsd-14.2/lib/libcasper/services/cap_dns/
H A Dcap_dns.c118 h_errno = NO_RECOVERY; in hostent_unpack()
141 h_errno = NO_RECOVERY; in cap_gethostbyname2()
145 h_errno = (int)nvlist_get_number(nvl, "error"); in cap_gethostbyname2()
168 h_errno = NO_RECOVERY; in cap_gethostbyaddr()
172 h_errno = (int)nvlist_get_number(nvl, "error"); in cap_gethostbyaddr()
485 return (h_errno); in dns_gethostbyname()
511 return (h_errno); in dns_gethostbyaddr()
/freebsd-14.2/contrib/ntp/include/
H A Dl_stdlib.h220 #if defined(DECL_H_ERRNO) && !defined(h_errno)
221 extern int h_errno;
/freebsd-14.2/contrib/bsnmp/lib/
H A Dsupport.c122 extern int h_errno;
137 return (h_errno); in getaddrinfo()
/freebsd-14.2/contrib/sendmail/src/
H A Ddomain.c981 h_errno, herrno2txt(h_errno));
984 host, h_errno);
986 switch (h_errno)
1020 host, h_errno);
1246 h_errno == TRY_AGAIN ||
1259 h_errno == TRY_AGAIN ||
1771 save_errno, h_errno);
1773 if (save_errno == ECONNREFUSED || h_errno == TRY_AGAIN)
1808 if (h_errno != HOST_NOT_FOUND)
H A Dsm_resolve.c713 return h_errno;
859 *herr = h_errno;
862 p, h_errno, herrno2txt(h_errno));
1315 *herr = h_errno;
1324 options, len, errno, h_errno
1326 , herrno2txt(h_errno)
/freebsd-14.2/usr.sbin/bluetooth/btpand/
H A Dbtpand.c93 optarg, hstrerror(h_errno)); in main()
111 optarg, hstrerror(h_errno)); in main()
/freebsd-14.2/contrib/ntp/libntp/
H A Dmachines.c36 int h_errno; variable
41 h_errno = 0; /* we are always successful!!! */ in gethostbyname()
55 h_errno = 0; /* we are always successful!!! */ in gethostbyaddr()
H A Dntp_rfc2553.c273 return (h_errno); in DNSlookup_name()
445 if (h_errno == TRY_AGAIN) in getnameinfo()
/freebsd-14.2/usr.bin/talk/
H A Dget_addrs.c55 errx(1, "%s: %s", his_machine_name, hstrerror(h_errno)); in get_addrs()
/freebsd-14.2/usr.sbin/bluetooth/l2ping/
H A Dl2ping.c99 errx(1, "%s: %s", optarg, hstrerror(h_errno)); in main()
128 errx(1, "%s: %s", optarg, hstrerror(h_errno)); in main()
/freebsd-14.2/lib/libcasper/services/cap_net/
H A Dcap_net.c139 h_errno = NO_RECOVERY; in hostent_unpack()
208 h_errno = NO_RECOVERY; in cap_gethostbyname2()
212 h_errno = (int)nvlist_get_number(nvl, "error"); in cap_gethostbyname2()
235 h_errno = NO_RECOVERY; in cap_gethostbyaddr()
239 h_errno = (int)nvlist_get_number(nvl, "error"); in cap_gethostbyaddr()
814 return (h_errno); in net_gethostbyname()
848 return (h_errno); in net_gethostbyaddr()
/freebsd-14.2/lib/libc/tests/resolv/
H A Dresolv_test.c142 *errstr = hstrerror(h_errno); in resolv_gethostby()
145 return hp ? 0 : h_errno; in resolv_gethostby()
/freebsd-14.2/contrib/ntp/sntp/m4/
H A Dopenldap.m41012 int bufsize=BUFSIZE;int h_errno;
1014 …buffer, bufsize, &h_errno);]])],[ol_cv_func_gethostbyname_r_nargs5=yes],[ol_cv_func_gethostbyname_…
1022 int bufsize=BUFSIZE;int h_errno;
1024 …&rhent, &h_errno);]])],[ol_cv_func_gethostbyname_r_nargs6=yes],[ol_cv_func_gethostbyname_r_nargs6=…
1058 int bufsize=BUFSIZE;int h_errno;
1060 …alen, AF_INET, &hent, buffer, bufsize, &h_errno);]])],[ol_cv_func_gethostbyaddr_r_nargs7=yes],[ol_…
1070 int bufsize=BUFSIZE;int h_errno;
1073 …&rhent, &h_errno);]])],[ol_cv_func_gethostbyaddr_r_nargs8=yes],[ol_cv_func_gethostbyaddr_r_nargs8=…
/freebsd-14.2/kerberos5/lib/libroken/
H A DMakefile44 h_errno.c \
/freebsd-14.2/usr.sbin/bluetooth/sdpcontrol/
H A Dsdpcontrol.c72 errx(1, "%s: %s", optarg, hstrerror(h_errno)); in main()

123