Home | History | Annotate | Download | only in resolv

Lines Matching refs:hp

127 	register HEADER *hp;
145 hp = (HEADER *)(void *)buf;
146 hp->id = htons(res_randomid());
147 hp->opcode = op;
148 hp->rd = (statp->options & RES_RECURSE) != 0U;
149 hp->rcode = NOERROR;
172 hp->qdcount = htons(1);
193 hp->arcount = htons(1);
215 hp->ancount = htons(1);
237 register HEADER *hp;
246 hp = (HEADER *)(void *)buf;
272 hp->arcount = htons(ntohs(hp->arcount) + 1);