Home
last modified time | relevance | path

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

/external/dnsmasq/src/
Dhelper.c38 unsigned char clid_len, hostname_len, uclass_len, vclass_len, shost_len; member
159 data.hostname_len + data.uclass_len + data.vclass_len + data.shost_len, 1)) in create_helper()
252 if (data.hostname_len != 0) in create_helper()
256 hostname[data.hostname_len - 1] = 0; in create_helper()
302 unsigned int hostname_len = 0, clid_len = 0, vclass_len = 0; in queue_script() local
318 hostname_len = strlen(hostname) + 1; in queue_script()
320 …size = sizeof(struct script_data) + clid_len + vclass_len + uclass_len + shost_len + hostname_len; in queue_script()
345 buf->hostname_len = hostname_len; in queue_script()
391 if (hostname_len != 0) in queue_script()
393 memcpy(p, hostname, hostname_len); in queue_script()
[all …]
/external/curl/lib/
Dsocks.c380 const size_t hostname_len = strlen(hostname); local
384 if(!socks5_resolve_local && hostname_len > 255) {
386 "length > 255 [actual len=%zu]\n", hostname_len);
571 socksreq[len++] = (char) hostname_len; /* address length */
572 memcpy(&socksreq[len], hostname, hostname_len); /* address str w/o NULL */
573 len += hostname_len;
Dcookie.c119 size_t hostname_len = strlen(hostname); in tailmatch() local
121 if(hostname_len < cookie_domain_len) in tailmatch()
124 if(!Curl_raw_equal(cooke_domain, hostname+hostname_len-cookie_domain_len)) in tailmatch()
134 if(hostname_len == cookie_domain_len) in tailmatch()
136 if('.' == *(hostname + hostname_len - cookie_domain_len - 1)) in tailmatch()
/external/curl/lib/vtls/
Dcyassl.c261 size_t hostname_len = strlen(conn->host.name); in cyassl_connect_step1() local
262 if((hostname_len < USHRT_MAX) && in cyassl_connect_step1()
268 (unsigned short)hostname_len) != 1)) { in cyassl_connect_step1()
Dschannel.c1436 int hostname_len = strlen(conn->host.name); in verify_certificate() local
1439 hostname.const_tchar_ptr + hostname_len - len + 2) != 0) in verify_certificate()