Searched refs:dnstype (Results 1 – 3 of 3) sorted by relevance
/third_party/curl/tests/unit/ |
D | unit1655.c | 142 DNStype dnstype = DNS_TYPE_A; variable 154 DOHcode ret = doh_encode(sunshine1, dnstype, buffer, buflen, &olen1); 161 ret2 = doh_encode(dotshine1, dnstype, buffer, buflen, &olen2); 168 ret2 = doh_encode(sunshine2, dnstype, buffer, buflen, &olen2); 174 ret = doh_encode(sunshine1, dnstype, buffer, olen1 - 1, &olen); 178 ret = doh_encode(sunshine1, dnstype, buffer, olen1, &olen);
|
/third_party/curl/lib/ |
D | doh.c | 77 DNStype dnstype, in doh_encode() argument 159 *dnsp++ = (unsigned char)(255 & (dnstype>>8)); /* upper 8 bit TYPE */ in doh_encode() 160 *dnsp++ = (unsigned char)(255 & dnstype); /* lower 8 bit TYPE */ in doh_encode() 215 struct dnsprobe *p, DNStype dnstype, in dohprobe() argument 223 DOHcode d = doh_encode(host, dnstype, p->dohbuffer, sizeof(p->dohbuffer), in dohprobe() 230 p->dnstype = dnstype; in dohprobe() 603 DNStype dnstype, in doh_decode() argument 650 && (type != dnstype)) in doh_decode() 888 static const char *type2name(DNStype dnstype) in type2name() argument 890 return (dnstype == DNS_TYPE_A)?"A":"AAAA"; in type2name() [all …]
|
D | doh.h | 60 DNStype dnstype; member 111 DNStype dnstype, 117 DNStype dnstype,
|