Home
last modified time | relevance | path

Searched refs:dnstype (Results 1 – 4 of 4) sorted by relevance

/external/curl/tests/unit/
Dunit1655.c81 DNStype dnstype = DNS_TYPE_A; variable
92 DOHcode ret = doh_encode(sunshine1, dnstype, buffer, buflen, &olen1);
99 ret2 = doh_encode(sunshine2, dnstype, buffer, buflen, &olen2);
105 ret = doh_encode(sunshine1, dnstype, buffer, olen1 - 1, &olen);
109 ret = doh_encode(sunshine1, dnstype, buffer, olen1, &olen);
/external/curl/lib/
Ddoh.c80 DNStype dnstype, in doh_encode() argument
139 *dnsp++ = (unsigned char)(255 & (dnstype>>8)); /* upper 8 bit TYPE */ in doh_encode()
140 *dnsp++ = (unsigned char)(255 & dnstype); /* lower 8 bit TYPE */ in doh_encode()
201 struct dnsprobe *p, DNStype dnstype, in dohprobe() argument
210 DOHcode d = doh_encode(host, dnstype, p->dohbuffer, sizeof(p->dohbuffer), in dohprobe()
217 p->dnstype = dnstype; in dohprobe()
605 DNStype dnstype, in doh_decode() argument
650 if((type != DNS_TYPE_CNAME) && (type != dnstype)) in doh_decode()
895 static const char *type2name(DNStype dnstype) in type2name() argument
897 return (dnstype == DNS_TYPE_A)?"A":"AAAA"; in type2name()
[all …]
Ddoh.h96 DNStype dnstype,
102 DNStype dnstype,
Durldata.h539 int dnstype; member