Lines Matching defs:hp
133 register HEADER *hp;
169 hp = (HEADER *) buf;
170 hp->id = htons(++_res.id);
171 hp->opcode = op;
172 hp->pr = (_res.options & RES_PRIMARY) != 0;
173 hp->rd = (_res.options & RES_RECURSE) != 0;
174 hp->rcode = NOERROR;
197 hp->qdcount = htons(1);
217 hp->arcount = htons(1);
243 hp->ancount = htons(1);
283 hp->ancount = htons(0);
310 hp->ancount = htons(0);