Lines Matching refs:dnsp
77 unsigned char *dnsp, /* buffer */ in doh_encode() argument
82 unsigned char *orig = dnsp; in doh_encode()
88 *dnsp++ = 0; /* 16 bit id */ in doh_encode()
89 *dnsp++ = 0; in doh_encode()
90 *dnsp++ = 0x01; /* |QR| Opcode |AA|TC|RD| Set the RD bit */ in doh_encode()
91 *dnsp++ = '\0'; /* |RA| Z | RCODE | */ in doh_encode()
92 *dnsp++ = '\0'; in doh_encode()
93 *dnsp++ = 1; /* QDCOUNT (number of entries in the question section) */ in doh_encode()
94 *dnsp++ = '\0'; in doh_encode()
95 *dnsp++ = '\0'; /* ANCOUNT */ in doh_encode()
96 *dnsp++ = '\0'; in doh_encode()
97 *dnsp++ = '\0'; /* NSCOUNT */ in doh_encode()
98 *dnsp++ = '\0'; in doh_encode()
99 *dnsp++ = '\0'; /* ARCOUNT */ in doh_encode()
117 *dnsp++ = (unsigned char)labellen; in doh_encode()
118 memcpy(dnsp, hostp, labellen); in doh_encode()
119 dnsp += labellen; in doh_encode()
122 *dnsp++ = 0; /* terminating zero */ in doh_encode()
127 *dnsp++ = '\0'; /* upper 8 bit TYPE */ in doh_encode()
128 *dnsp++ = (unsigned char)dnstype; in doh_encode()
129 *dnsp++ = '\0'; /* upper 8 bit CLASS */ in doh_encode()
130 *dnsp++ = DNS_CLASS_IN; /* IN - "the Internet" */ in doh_encode()
132 *olen = dnsp - orig; in doh_encode()
883 struct Curl_dns_entry **dnsp) in Curl_doh_is_resolved() argument
886 *dnsp = NULL; /* defaults to no response */ in Curl_doh_is_resolved()
952 *dnsp = dns; in Curl_doh_is_resolved()