Searched defs:hostlen (Results 1 - 5 of 5) sorted by relevance

/bind-9.11.3/lib/lwres/
H A Dgetnameinfo.c54 * hostlen and is returned via *host. The maximum length of the hostname
153 size_t hostlen, char *serv, size_t servlen, int flags)
253 if (host == NULL || hostlen == 0U) {
285 if (strlen(numaddr) + 1 > hostlen)
314 if ((strlen(by->realname) + 1) > hostlen)
324 if ((strlen(numaddr) + 1) > hostlen)
152 lwres_getnameinfo(const struct sockaddr *sa, size_t salen, char *host, size_t hostlen, char *serv, size_t servlen, int flags) argument
/bind-9.11.3/lib/irs/
H A Dgetnameinfo.c42 * salen bytes long. The hostname is of length hostlen and is returned via
138 char *host, IRS_GETNAMEINFO_BUFLEN_T hostlen,
233 if (host == NULL || hostlen == 0U) {
237 * "||" here: RFC3493 says that host == NULL or hostlen == 0
266 if (strlen(numaddr) + 1 > hostlen)
268 strlcpy(host, numaddr, hostlen);
386 if (hostregion.length + 1 > hostlen)
388 snprintf(host, hostlen, "%.*s",
397 if ((strlen(numaddr) + 1) > hostlen)
399 strlcpy(host, numaddr, hostlen);
137 getnameinfo(const struct sockaddr *sa, IRS_GETNAMEINFO_SOCKLEN_T salen, char *host, IRS_GETNAMEINFO_BUFLEN_T hostlen, char *serv, IRS_GETNAMEINFO_BUFLEN_T servlen, IRS_GETNAMEINFO_FLAGS_T flags) argument
[all...]
/bind-9.11.3/contrib/idn/idnkit-1.0-src/tools/runidn/
H A Dstub.c374 char *host, GNI_HOSTLEN_T hostlen,
377 char *host, GNI_HOSTLEN_T hostlen,
384 return ((*fp)(sa, salen, host, hostlen, serv, servlen, flags));
373 idn_stub_getnameinfo(const struct sockaddr *sa, GNI_SALEN_T salen, char *host, GNI_HOSTLEN_T hostlen, char *serv, GNI_SERVLEN_T servlen, GNI_FLAGS_T flags) argument
H A Dresolver.c1018 char *host, GNI_HOSTLEN_T hostlen, char *serv,
1026 if (host == NULL || hostlen == 0 || idn_isprocessing) {
1027 return (REAL(getnameinfo)(sa, salen, host, hostlen,
1031 TRACE(("getnameinfo(hostlen=%u)\n", hostlen));
1039 r = idn_decodename(IDN_DECODE_APP, name, host, hostlen);
1017 getnameinfo(const struct sockaddr *sa, GNI_SALEN_T salen, char *host, GNI_HOSTLEN_T hostlen, char *serv, GNI_SERVLEN_T servlen, GNI_FLAGS_T flags) argument
/bind-9.11.3/contrib/idn/idnkit-1.0-src/wsock/wsock20/
H A Ddllfunc.c554 char *host, DWORD hostlen, char *serv,
567 if (host == NULL || hostlen == 0 || encodeCtx == NULL) {
569 code = _org_getnameinfo(sa, salen, host, hostlen,
575 stat = idnConvRsp(encodeCtx, name, host, hostlen);
578 if (strlen(name) >= hostlen) {
553 getnameinfo(const struct sockaddr *sa, DWORD salen, char *host, DWORD hostlen, char *serv, DWORD servlen, int flags) argument

Completed in 17 milliseconds