Home
last modified time | relevance | path

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

/external/tcpdump/missing/
Dgetnameinfo.c100 getnameinfo(sa, salen, host, hostlen, serv, servlen, flags) in getnameinfo() argument
104 size_t hostlen;
205 if (host == NULL || hostlen == 0) {
219 if (strlen(numaddr) + 1 > hostlen)
259 if (strlen(hp->h_name) + 1 > hostlen) {
275 if (strlen(numaddr) + 1 > hostlen)
/external/dropbear/
Dcli-kex.c213 unsigned int hostlen, algolen; in checkhostkey() local
228 hostlen = strlen(cli_opts.remotehost); in checkhostkey()
241 if (line->len < (hostlen+30) ) { in checkhostkey()
247 if (strncmp(cli_opts.remotehost, buf_getptr(line, hostlen), in checkhostkey()
248 hostlen) != 0) { in checkhostkey()
253 buf_incrpos(line, hostlen); in checkhostkey()
307 buf_putbytes(line, ses.remotehost, hostlen); in checkhostkey()
Dfake-rfc2553.c47 size_t hostlen, char *serv, size_t servlen, int flags) in getnameinfo() argument
62 hostlen) >= hostlen) in getnameinfo()
72 if (strlcpy(host, hp->h_name, hostlen) >= hostlen) in getnameinfo()
/external/openssh/openbsd-compat/
Dfake-rfc2553.c48 size_t hostlen, char *serv, size_t servlen, int flags) in getnameinfo() argument
65 hostlen) >= hostlen) in getnameinfo()
75 if (strlcpy(host, hp->h_name, hostlen) >= hostlen) in getnameinfo()
Dport-aix.c411 size_t hostlen, char *serv, size_t servlen, int flags) in sshaix_getnameinfo() argument
422 strlcpy(host, "::", hostlen); in sshaix_getnameinfo()
427 return getnameinfo(sa, salen, host, hostlen, serv, servlen, flags); in sshaix_getnameinfo()
/external/openssl/crypto/x509v3/
Dv3_ncons.c465 int hostlen; in nc_uri() local
481 hostlen = strlen(hostptr); in nc_uri()
483 hostlen = p - hostptr; in nc_uri()
485 if (hostlen == 0) in nc_uri()
491 if (hostlen > base->length) in nc_uri()
493 p = hostptr + hostlen - base->length; in nc_uri()
500 if ((base->length != (int)hostlen) || strncasecmp(hostptr, baseptr, hostlen)) in nc_uri()
/external/libnl-headers/netlink/
Daddr.h46 extern int nl_addr_resolve(struct nl_addr *addr, char *host, size_t hostlen);
/external/chromium/third_party/libjingle/source/talk/base/
Dproxydetect.cc241 size_t hostlen = url.host().length(); in ProxyItemMatch() local
242 return (hostlen > len) in ProxyItemMatch()
243 && (stricmp(url.host().c_str() + (hostlen - len), item) == 0); in ProxyItemMatch()
815 DWORD hostlen = _snprintf(host, sizeof(host), "http%s://%S",
817 if (pIGPI(surl.data(), surl.size(), host, hostlen, &ptr, &proxylen)) {
/external/qemu/
Dsockets.h253 size_t hostlen,
Dsockets.c856 size_t hostlen, in sock_address_get_numeric_info() argument
880 ret = getnameinfo( saddr, slen, host, hostlen, serv, servlen, in sock_address_get_numeric_info()
/external/chromium/third_party/libevent/
Dhttp.c107 size_t hostlen, char *serv, size_t servlen, int flags) in fake_getnameinfo() argument
122 hostlen) >= hostlen) in fake_getnameinfo()
133 if (strlcpy(host, hp->h_name, hostlen) >= hostlen) in fake_getnameinfo()