Home | History | Annotate | Download | only in net

Lines Matching defs:hp

1301 	const HEADER *hp;
1333 hp = &answer->hdr;
1334 ancount = ntohs(hp->ancount);
1335 qdcount = ntohs(hp->qdcount);
2141 HEADER *hp;
2158 hp = (HEADER *)(void *)t->answer;
2159 hp->rcode = NOERROR; /* default */
2197 if (n < 0 || hp->rcode != NOERROR || ntohs(hp->ancount) == 0) {
2198 rcode = hp->rcode; /* record most recent error */
2201 printf(";; rcode = %u, ancount=%u\n", hp->rcode,
2202 ntohs(hp->ancount));
2207 ancount += ntohs(hp->ancount);
2245 HEADER *hp;
2253 hp = (HEADER *)(void *)target->answer; /*XXX*/
2338 if (hp->rcode == SERVFAIL) {