Lines Matching refs:dnsp
87 unsigned char *dnsp, /* buffer */ in doh_req_encode() argument
92 unsigned char *orig = dnsp; in doh_req_encode()
129 *dnsp++ = 0; /* 16 bit id */ in doh_req_encode()
130 *dnsp++ = 0; in doh_req_encode()
131 *dnsp++ = 0x01; /* |QR| Opcode |AA|TC|RD| Set the RD bit */ in doh_req_encode()
132 *dnsp++ = '\0'; /* |RA| Z | RCODE | */ in doh_req_encode()
133 *dnsp++ = '\0'; in doh_req_encode()
134 *dnsp++ = 1; /* QDCOUNT (number of entries in the question section) */ in doh_req_encode()
135 *dnsp++ = '\0'; in doh_req_encode()
136 *dnsp++ = '\0'; /* ANCOUNT */ in doh_req_encode()
137 *dnsp++ = '\0'; in doh_req_encode()
138 *dnsp++ = '\0'; /* NSCOUNT */ in doh_req_encode()
139 *dnsp++ = '\0'; in doh_req_encode()
140 *dnsp++ = '\0'; /* ARCOUNT */ in doh_req_encode()
156 *dnsp++ = (unsigned char)labellen; in doh_req_encode()
157 memcpy(dnsp, hostp, labellen); in doh_req_encode()
158 dnsp += labellen; in doh_req_encode()
165 *dnsp++ = 0; /* append zero-length label for root */ in doh_req_encode()
168 *dnsp++ = (unsigned char)(255 & (dnstype >> 8)); /* upper 8 bit TYPE */ in doh_req_encode()
169 *dnsp++ = (unsigned char)(255 & dnstype); /* lower 8 bit TYPE */ in doh_req_encode()
171 *dnsp++ = '\0'; /* upper 8 bit CLASS */ in doh_req_encode()
172 *dnsp++ = DNS_CLASS_IN; /* IN - "the Internet" */ in doh_req_encode()
174 *olen = dnsp - orig; in doh_req_encode()
1295 struct Curl_dns_entry **dnsp) in Curl_doh_is_resolved() argument
1299 *dnsp = NULL; /* defaults to no response */ in Curl_doh_is_resolved()
1368 *dnsp = dns; in Curl_doh_is_resolved()
1375 if(de.numhttps_rrs > 0 && result == CURLE_OK && *dnsp) { in Curl_doh_is_resolved()
1387 (*dnsp)->hinfo = hrr; in Curl_doh_is_resolved()