Lines Matching refs:hp
124 register HEADER *hp;
154 hp = (HEADER *) buf;
156 hp->id = htons(statp->id);
157 hp->opcode = op;
158 hp->rd = (statp->options & RES_RECURSE) != 0U;
159 hp->rcode = NOERROR;
182 hp->qdcount = htons(1);
203 hp->arcount = htons(1);
225 hp->ancount = htons(1);
244 register HEADER *hp;
253 hp = (HEADER *) buf;
281 hp->arcount = htons(ntohs(hp->arcount) + 1);