Home
last modified time | relevance | path

Searched refs:hostnamelen (Results 1 - 2 of 2) sorted by relevance

/third_party/lwip/src/core/
H A Ddns.c1481 * @param hostnamelen length of the hostname
1487 dns_enqueue(const char *name, size_t hostnamelen, dns_found_callback found, in dns_enqueue() argument
1588 namelen = LWIP_MIN(hostnamelen, DNS_MAX_NAME_LENGTH - 1); in dns_enqueue()
1662 size_t hostnamelen; in dns_gethostbyname_addrtype() local
1677 hostnamelen = strlen(hostname); in dns_gethostbyname_addrtype()
1678 if (hostnamelen >= DNS_MAX_NAME_LENGTH) { in dns_gethostbyname_addrtype()
1723 if (strstr(hostname, ".local") == &hostname[hostnamelen] - 6) { in dns_gethostbyname_addrtype()
1739 return dns_enqueue(hostname, hostnamelen, found, callback_arg LWIP_DNS_ADDRTYPE_ARG(dns_addrtype) in dns_gethostbyname_addrtype()
/third_party/curl/lib/
H A Dsocks.c432 size_t hostnamelen = 0; in do_SOCKS4() local
438 hostnamelen = strlen(sx->hostname) + 1; /* length including NUL */ in do_SOCKS4()
439 if((hostnamelen <= 255) && in do_SOCKS4()
440 (packetsize + hostnamelen < sizeof(sx->buffer))) in do_SOCKS4()
446 packetsize += hostnamelen; in do_SOCKS4()

Completed in 5 milliseconds