Lines Matching defs:host
76 UNITTEST DOHcode doh_encode(const char *host,
82 const size_t hostlen = strlen(host);
84 const char *hostp = host;
87 * the QNAME-encoding of the host name.
94 * If the host name ends with a trailing dot, the corresponding
95 * QNAME-encoding is one byte longer than the host name. If (as is
98 * than the host name.
111 if(host[hostlen-1]!='.')
216 const char *host,
223 DOHcode d = doh_encode(host, dnstype, p->dohbuffer, sizeof(p->dohbuffer),
387 dohp->host = hostname;
942 type2name(p->dnstype), dohp->host);
953 infof(data, "DoH Host name: %s", dohp->host);
956 result = doh2ai(&de, dohp->host, dohp->port, &ai);
966 dns = Curl_cache_addr(data, ai, dohp->host, 0, dohp->port);