Home | History | Annotate | Download | only in resolv

Lines Matching defs:hp

126 	register HEADER *hp;
144 hp = (HEADER *)(void *)buf;
145 hp->id = htons(res_randomid());
146 hp->opcode = op;
147 hp->rd = (statp->options & RES_RECURSE) != 0U;
148 hp->rcode = NOERROR;
171 hp->qdcount = htons(1);
192 hp->arcount = htons(1);
214 hp->ancount = htons(1);
236 register HEADER *hp;
245 hp = (HEADER *)(void *)buf;
271 hp->arcount = htons(ntohs(hp->arcount) + 1);