Searched refs:dnstype (Results 1 – 4 of 4) sorted by relevance
/external/curl/tests/unit/ |
D | unit1655.c | 81 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/ |
D | doh.c | 80 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 …]
|
D | doh.h | 96 DNStype dnstype, 102 DNStype dnstype,
|
D | urldata.h | 539 int dnstype; member
|