Home | History | Annotate | Download | only in net

Lines Matching defs:hp

1305 hp;
1337 hp = &answer->hdr;
1338 ancount = ntohs(hp->ancount);
1339 qdcount = ntohs(hp->qdcount);
2140 HEADER *hp;
2157 hp = (HEADER *)(void *)t->answer;
2158 hp->rcode = NOERROR; /* default */
2196 if (n < 0 || hp->rcode != NOERROR || ntohs(hp->ancount) == 0) {
2197 rcode = hp->rcode; /* record most recent error */
2200 printf(";; rcode = %u, ancount=%u\n", hp->rcode,
2201 ntohs(hp->ancount));
2206 ancount += ntohs(hp->ancount);
2244 HEADER *hp;
2252 hp = (HEADER *)(void *)target->answer; /*XXX*/
2331 if (hp->rcode == SERVFAIL) {