Lines Matching refs:dnsp
78 unsigned char *dnsp, /* buffer */
83 unsigned char *orig = dnsp;
120 *dnsp++ = 0; /* 16 bit id */
121 *dnsp++ = 0;
122 *dnsp++ = 0x01; /* |QR| Opcode |AA|TC|RD| Set the RD bit */
123 *dnsp++ = '\0'; /* |RA| Z | RCODE | */
124 *dnsp++ = '\0';
125 *dnsp++ = 1; /* QDCOUNT (number of entries in the question section) */
126 *dnsp++ = '\0';
127 *dnsp++ = '\0'; /* ANCOUNT */
128 *dnsp++ = '\0';
129 *dnsp++ = '\0'; /* NSCOUNT */
130 *dnsp++ = '\0';
131 *dnsp++ = '\0'; /* ARCOUNT */
147 *dnsp++ = (unsigned char)labellen;
148 memcpy(dnsp, hostp, labellen);
149 dnsp += labellen;
156 *dnsp++ = 0; /* append zero-length label for root */
159 *dnsp++ = (unsigned char)(255 & (dnstype>>8)); /* upper 8 bit TYPE */
160 *dnsp++ = (unsigned char)(255 & dnstype); /* lower 8 bit TYPE */
162 *dnsp++ = '\0'; /* upper 8 bit CLASS */
163 *dnsp++ = DNS_CLASS_IN; /* IN - "the Internet" */
165 *olen = dnsp - orig;
903 struct Curl_dns_entry **dnsp)
907 *dnsp = NULL; /* defaults to no response */
977 *dnsp = dns;