| /freebsd-14.2/lib/libc/resolv/ |
| H A D | h_errno.c | 33 #undef h_errno 34 extern int h_errno; 48 h_errno = res->res_h_errno = err; in __h_errno_set()
|
| H A D | herror.c | 79 #undef h_errno 80 int h_errno; variable
|
| H A D | Makefile.inc | 5 SRCS+= herror.c h_errno.c mtctxres.c res_comp.c res_data.c res_debug.c \
|
| H A D | Symbol.map | 58 h_errno;
|
| /freebsd-14.2/crypto/heimdal/lib/roken/ |
| H A D | getipnodebyname.c | 39 static int h_errno = NO_RECOVERY; variable 62 switch (h_errno) { in getipnodebyname() 66 *error_num = h_errno; in getipnodebyname()
|
| H A D | getipnodebyaddr.c | 50 switch (h_errno) { in getipnodebyaddr() 54 *error_num = h_errno; in getipnodebyaddr()
|
| H A D | h_errno.c | 37 int h_errno = -17; /* Some magic number */ variable
|
| /freebsd-14.2/contrib/sendmail/contrib/ |
| H A D | bitdomain.c | 41 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 D | sm_gethost.c | 57 *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 D | bluetooth.c | 87 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 D | cap_dns.c | 118 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 D | l_stdlib.h | 220 #if defined(DECL_H_ERRNO) && !defined(h_errno) 221 extern int h_errno;
|
| /freebsd-14.2/contrib/bsnmp/lib/ |
| H A D | support.c | 122 extern int h_errno; 137 return (h_errno); in getaddrinfo()
|
| /freebsd-14.2/contrib/sendmail/src/ |
| H A D | domain.c | 981 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 D | sm_resolve.c | 713 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 D | btpand.c | 93 optarg, hstrerror(h_errno)); in main() 111 optarg, hstrerror(h_errno)); in main()
|
| /freebsd-14.2/contrib/ntp/libntp/ |
| H A D | machines.c | 36 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 D | ntp_rfc2553.c | 273 return (h_errno); in DNSlookup_name() 445 if (h_errno == TRY_AGAIN) in getnameinfo()
|
| /freebsd-14.2/usr.bin/talk/ |
| H A D | get_addrs.c | 55 errx(1, "%s: %s", his_machine_name, hstrerror(h_errno)); in get_addrs()
|
| /freebsd-14.2/usr.sbin/bluetooth/l2ping/ |
| H A D | l2ping.c | 99 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 D | cap_net.c | 139 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 D | resolv_test.c | 142 *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 D | openldap.m4 | 1012 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 D | Makefile | 44 h_errno.c \
|
| /freebsd-14.2/usr.sbin/bluetooth/sdpcontrol/ |
| H A D | sdpcontrol.c | 72 errx(1, "%s: %s", optarg, hstrerror(h_errno)); in main()
|