Home | History | Annotate | Download | only in net

Lines Matching refs:hp

1078 	const HEADER *hp;
1110 hp = &answer->hdr;
1111 ancount = ntohs(hp->ancount);
1112 qdcount = ntohs(hp->qdcount);
1876 HEADER *hp;
1893 hp = (HEADER *)(void *)t->answer;
1894 hp->rcode = NOERROR; /* default */
1932 if (n < 0 || hp->rcode != NOERROR || ntohs(hp->ancount) == 0) {
1933 rcode = hp->rcode; /* record most recent error */
1936 printf(";; rcode = %u, ancount=%u\n", hp->rcode,
1937 ntohs(hp->ancount));
1942 ancount += ntohs(hp->ancount);
1980 HEADER *hp;
1988 hp = (HEADER *)(void *)target->answer; /*XXX*/
2067 if (hp->rcode == SERVFAIL) {