Home | History | Annotate | Download | only in net

Lines Matching defs:hp

1312 	const HEADER *hp;
1344 hp = &answer->hdr;
1345 ancount = ntohs(hp->ancount);
1346 qdcount = ntohs(hp->qdcount);
2158 HEADER *hp;
2175 hp = (HEADER *)(void *)t->answer;
2176 hp->rcode = NOERROR; /* default */
2214 if (n < 0 || hp->rcode != NOERROR || ntohs(hp->ancount) == 0) {
2215 rcode = hp->rcode; /* record most recent error */
2218 printf(";; rcode = %u, ancount=%u\n", hp->rcode,
2219 ntohs(hp->ancount));
2224 ancount += ntohs(hp->ancount);
2262 HEADER *hp;
2270 hp = (HEADER *)(void *)target->answer; /*XXX*/
2355 if (hp->rcode == SERVFAIL) {