Home
last modified time | relevance | path

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

/third_party/curl/tests/unit/
Dunit1655.c140 DNStype dnstype = DNS_TYPE_A; variable
152 DOHcode ret = doh_encode(sunshine1, dnstype, buffer, buflen, &olen1);
159 ret2 = doh_encode(dotshine1, dnstype, buffer, buflen, &olen2);
166 ret2 = doh_encode(sunshine2, dnstype, buffer, buflen, &olen2);
172 ret = doh_encode(sunshine1, dnstype, buffer, olen1 - 1, &olen);
176 ret = doh_encode(sunshine1, dnstype, buffer, olen1, &olen);
/third_party/curl/lib/
Ddoh.c81 DNStype dnstype, in doh_encode() argument
163 *dnsp++ = (unsigned char)(255 & (dnstype>>8)); /* upper 8 bit TYPE */ in doh_encode()
164 *dnsp++ = (unsigned char)(255 & dnstype); /* lower 8 bit TYPE */ in doh_encode()
219 struct dnsprobe *p, DNStype dnstype, in dohprobe() argument
228 DOHcode d = doh_encode(host, dnstype, p->dohbuffer, sizeof(p->dohbuffer), in dohprobe()
235 p->dnstype = dnstype; in dohprobe()
626 DNStype dnstype, in doh_decode() argument
673 && (type != dnstype)) in doh_decode()
909 static const char *type2name(DNStype dnstype) in type2name() argument
911 return (dnstype == DNS_TYPE_A)?"A":"AAAA"; in type2name()
[all …]
Ddoh.h92 DNStype dnstype,
98 DNStype dnstype,
Durldata.h611 int dnstype; member
/third_party/glib/gio/
Dgthreadedresolver.c839 WORD dnstype, in g_resolver_records_from_DnsQuery() argument
872 if (rec->wType != dnstype) in g_resolver_records_from_DnsQuery()
874 switch (dnstype) in g_resolver_records_from_DnsQuery()
1019 WORD dnstype; in do_lookup_records() local
1021 dnstype = g_resolver_record_type_to_dnstype (lrd->record_type); in do_lookup_records()
1022 status = DnsQuery_A (lrd->rrname, dnstype, DNS_QUERY_STANDARD, NULL, &results, NULL); in do_lookup_records()
1023 records = g_resolver_records_from_DnsQuery (lrd->rrname, dnstype, status, results, &error); in do_lookup_records()