Lines Matching defs:hp
122 register HEADER *hp;
140 hp = (HEADER *)(void *)buf;
142 hp->id = htons(statp->id);
143 hp->opcode = op;
144 hp->rd = (statp->options & RES_RECURSE) != 0U;
145 hp->ad = (statp->options & RES_USE_DNSSEC) != 0U;
146 hp->rcode = NOERROR;
169 hp->qdcount = htons(1);
190 hp->arcount = htons(1);
212 hp->ancount = htons(1);
232 register HEADER *hp;
241 hp = (HEADER *)(void *)buf;
271 hp->arcount = htons(ntohs(hp->arcount) + 1);