Home
last modified time | relevance | path

Searched refs:hostlen (Results 1 – 19 of 19) sorted by relevance

/minix/lib/libc/net/
H A Dgetnameinfo.c126 char *host, socklen_t hostlen, in getnameinfo() argument
204 if (host && hostlen>0) in getnameinfo_atalk()
226 if (host && hostlen > 0) in getnameinfo_local()
239 char *host, socklen_t hostlen, in getnameinfo_inet() argument
367 hostlen, flags)) != 0) in getnameinfo_inet()
429 hostlen, in getnameinfo_inet()
437 hostlen) == NULL) in getnameinfo_inet()
449 socklen_t hostlen, int flags) in ip6_parsenumeric() argument
465 strlcpy(host, numaddr, hostlen); in ip6_parsenumeric()
573 host, hostlen); in getnameinfo_link()
[all …]
H A Dethers.c147 int hostlen = (int)strlen(hostname); in ether_hostton() local
170 if (yp_match(ypdom, "ethers.byname", hostname, hostlen, in ether_hostton()
/minix/crypto/external/bsd/heimdal/dist/lib/roken/
H A Dgetnameinfo.c45 char *host, size_t hostlen, in doit() argument
51 if (inet_ntop (af, addr, host, hostlen) == NULL) in doit()
58 strlcpy (host, hostent_find_fqdn(he), hostlen); in doit()
66 } else if (inet_ntop (af, addr, host, hostlen) == NULL) in doit()
98 char *host, size_t hostlen, in getnameinfo() argument
109 host, hostlen, in getnameinfo()
119 host, hostlen, in getnameinfo()
H A Dgetnameinfo_verified.c50 char *host, size_t hostlen, in getnameinfo_verified() argument
69 ret = getnameinfo (sa, salen, host, hostlen, serv, servlen, in getnameinfo_verified()
93 ret = getnameinfo (sa, salen, host, hostlen, serv, servlen, in getnameinfo_verified()
H A Dresolve.c192 size_t hostlen; in parse_record() local
204 hostlen = strlen(host); in parse_record()
206 hostlen); in parse_record()
216 size_t hostlen; in parse_record() local
227 hostlen = strlen(host); in parse_record()
230 hostlen); in parse_record()
278 size_t sig_len, hostlen; in parse_record() local
300 hostlen = strlen(host); in parse_record()
742 hostlen); in parse_dns_record()
758 hostlen); in parse_dns_record()
[all …]
/minix/external/bsd/bind/dist/contrib/queryperf/missing/
H A Dgetnameinfo.c86 getnameinfo(sa, salen, host, hostlen, serv, servlen, flags) in getnameinfo() argument
90 size_t hostlen;
181 if (host == NULL || hostlen == 0) {
190 if (strlen(numaddr) > hostlen)
206 if (strlen(hp->h_name) > hostlen) {
222 if (strlen(numaddr) > hostlen)
/minix/external/bsd/tcpdump/dist/missing/
H A Dgetnameinfo.c95 getnameinfo(sa, salen, host, hostlen, serv, servlen, flags) in getnameinfo() argument
99 size_t hostlen;
200 if (host == NULL || hostlen == 0) {
214 if (strlen(numaddr) + 1 > hostlen)
254 if (strlen(hp->h_name) + 1 > hostlen) {
270 if (strlen(numaddr) + 1 > hostlen)
/minix/external/bsd/bind/dist/lib/lwres/
H A Dgetnameinfo.c164 size_t hostlen, char *serv, size_t servlen, int flags) in lwres_getnameinfo() argument
264 if (host == NULL || hostlen == 0U) { in lwres_getnameinfo()
296 if (strlen(numaddr) + 1 > hostlen) in lwres_getnameinfo()
325 if ((strlen(by->realname) + 1) > hostlen) in lwres_getnameinfo()
335 if ((strlen(numaddr) + 1) > hostlen) in lwres_getnameinfo()
/minix/external/bsd/bind/dist/lib/irs/
H A Dgetnameinfo.c149 char *host, IRS_GETNAMEINFO_BUFLEN_T hostlen, in getnameinfo() argument
244 if (host == NULL || hostlen == 0U) { in getnameinfo()
277 if (strlen(numaddr) + 1 > hostlen) in getnameinfo()
392 if (hostregion.length + 1 > hostlen) in getnameinfo()
394 snprintf(host, hostlen, "%.*s", in getnameinfo()
403 if ((strlen(numaddr) + 1) > hostlen) in getnameinfo()
/minix/usr.bin/finger/
H A Dlprint.c147 print_idle(time_t t, int maxlen, size_t hostlen, size_t ttylen) { in print_idle() argument
164 if (hostlen) { in print_idle()
178 size_t ttylen, hostlen; in lprint() local
249 hostlen = visify(hostbuf, sizeof(hostbuf), w->host); in lprint()
255 cpr += print_idle(w->idletime, maxlen, hostlen, in lprint()
270 if (hostlen) { in lprint()
271 if (LINE_LEN < (cpr + 6 + hostlen)) in lprint()
/minix/crypto/external/bsd/openssl/dist/crypto/x509v3/
H A Dv3_ncons.c438 int hostlen; in nc_uri() local
454 hostlen = strlen(hostptr); in nc_uri()
456 hostlen = p - hostptr; in nc_uri()
458 if (hostlen == 0) in nc_uri()
463 if (hostlen > base->length) { in nc_uri()
464 p = hostptr + hostlen - base->length; in nc_uri()
471 if ((base->length != (int)hostlen) in nc_uri()
472 || strncasecmp(hostptr, baseptr, hostlen)) in nc_uri()
/minix/crypto/external/bsd/heimdal/dist/lib/krb5/
H A Dkrbhst.c327 char *hostname, size_t hostlen) in krb5_krbhst_format_string() argument
527 size_t hostlen = strlen(host); in fallback_get_hosts() local
529 hi = calloc(1, sizeof(*hi) + hostlen); in fallback_get_hosts()
538 memmove(hi->hostname, host, hostlen); in fallback_get_hosts()
539 hi->hostname[hostlen] = '\0'; in fallback_get_hosts()
559 size_t hostlen; in add_locate() local
574 hostlen = strlen(host); in add_locate()
576 hi = calloc(1, sizeof(*hi) + hostlen); in add_locate()
583 memmove(hi->hostname, host, hostlen); in add_locate()
584 hi->hostname[hostlen] = '\0'; in add_locate()
[all …]
/minix/external/bsd/bind/dist/contrib/idn/idnkit-1.0-src/wsock/wsock20/
H A Ddllfunc.c556 char *host, DWORD hostlen, char *serv, in getnameinfo() argument
569 if (host == NULL || hostlen == 0 || encodeCtx == NULL) { in getnameinfo()
571 code = _org_getnameinfo(sa, salen, host, hostlen, in getnameinfo()
577 stat = idnConvRsp(encodeCtx, name, host, hostlen); in getnameinfo()
580 if (strlen(name) >= hostlen) { in getnameinfo()
H A Ddlldef.h122 _org_getnameinfo(LPVOID sa, DWORD salen, char* host, DWORD hostlen,
/minix/external/bsd/bind/dist/contrib/idn/idnkit-1.0-src/tools/runidn/
H A Dstub.c376 char *host, GNI_HOSTLEN_T hostlen, in idn_stub_getnameinfo() argument
379 char *host, GNI_HOSTLEN_T hostlen, in idn_stub_getnameinfo()
386 return ((*fp)(sa, salen, host, hostlen, serv, servlen, flags)); in idn_stub_getnameinfo()
H A Dstub.h92 char *host, GNI_HOSTLEN_T hostlen, char *serv,
H A Dresolver.c1020 char *host, GNI_HOSTLEN_T hostlen, char *serv, in ENTRY()
1028 if (host == NULL || hostlen == 0 || idn_isprocessing) { in ENTRY()
1029 return (REAL(getnameinfo)(sa, salen, host, hostlen, in ENTRY()
1033 TRACE(("getnameinfo(hostlen=%u)\n", hostlen)); in ENTRY()
1041 r = idn_decodename(IDN_DECODE_APP, name, host, hostlen); in ENTRY()
/minix/external/bsd/bind/dist/contrib/idn/idnkit-1.0-src/
H A Dconfigure.in496 socklen_t hostlen, char *serv, socklen_t servlen,
513 socklen_t hostlen, char *serv, socklen_t servlen,
530 size_t hostlen, char *serv, size_t servlen, int flags) {
546 size_t hostlen, char *serv, size_t servlen, int flags) {
/minix/external/bsd/libevent/dist/
H A Dhttp.c122 size_t hostlen, char *serv, size_t servlen, int flags) in fake_getnameinfo() argument
137 hostlen) >= hostlen) in fake_getnameinfo()
148 if (strlcpy(host, hp->h_name, hostlen) >= hostlen) in fake_getnameinfo()