Home
last modified time | relevance | path

Searched refs:hostname_len (Results 1 – 6 of 6) sorted by relevance

/external/dnsmasq/src/
Dhelper.c37 unsigned char clid_len, hostname_len, uclass_len, vclass_len, shost_len; member
142 data.hostname_len + data.uclass_len + data.vclass_len + data.shost_len, 1)) in create_helper()
219 if (data.hostname_len != 0) { in create_helper()
222 hostname[data.hostname_len - 1] = 0; in create_helper()
260 unsigned int hostname_len = 0, clid_len = 0, vclass_len = 0; in queue_script() local
270 if (hostname) hostname_len = strlen(hostname) + 1; in queue_script()
273 sizeof(struct script_data) + clid_len + vclass_len + uclass_len + shost_len + hostname_len; in queue_script()
294 buf->hostname_len = hostname_len; in queue_script()
334 if (hostname_len != 0) { in queue_script()
335 memcpy(p, hostname, hostname_len); in queue_script()
[all …]
/external/curl/lib/
Dsocks.c390 const size_t hostname_len = strlen(hostname); in Curl_SOCKS5() local
400 if(!socks5_resolve_local && hostname_len > 255) { in Curl_SOCKS5()
402 "length > 255 [actual len=%zu]\n", hostname_len); in Curl_SOCKS5()
608 socksreq[len++] = (char) hostname_len; /* address length */ in Curl_SOCKS5()
609 memcpy(&socksreq[len], hostname, hostname_len); /* address str w/o NULL */ in Curl_SOCKS5()
610 len += hostname_len; in Curl_SOCKS5()
Dcookie.c121 size_t hostname_len = strlen(hostname); in tailmatch() local
123 if(hostname_len < cookie_domain_len) in tailmatch()
126 if(!strcasecompare(cooke_domain, hostname + hostname_len-cookie_domain_len)) in tailmatch()
136 if(hostname_len == cookie_domain_len) in tailmatch()
138 if('.' == *(hostname + hostname_len - cookie_domain_len - 1)) in tailmatch()
/external/boringssl/src/ssl/
Dhandoff.cc245 size_t hostname_len = 0; in SSL_serialize_handback() local
247 hostname_len = strlen(s3->hostname.get()); in SSL_serialize_handback()
299 hostname_len) || in SSL_serialize_handback()
432 const size_t hostname_len = CBS_len(&hostname); in SSL_apply_handback() local
433 if (hostname_len == 0) { in SSL_apply_handback()
/external/curl/lib/vtls/
Dwolfssl.c321 size_t hostname_len = strlen(hostname); in wolfssl_connect_step1() local
322 if((hostname_len < USHRT_MAX) && in wolfssl_connect_step1()
328 (unsigned short)hostname_len) != 1)) { in wolfssl_connect_step1()
Dmesalink.c103 size_t hostname_len = strlen(hostname); in mesalink_connect_step1() local
226 if((hostname_len < USHRT_MAX) && in mesalink_connect_step1()