Lines Matching refs:hp
60 HEADER *hp = (HEADER *)msg;
70 if (hp->arcount == 0)
75 n = ns_skiprr(cp, eom, ns_s_qd, ntohs(hp->qdcount));
80 n = ns_skiprr(cp, eom, ns_s_an, ntohs(hp->ancount));
85 n = ns_skiprr(cp, eom, ns_s_ns, ntohs(hp->nscount));
90 n = ns_skiprr(cp, eom, ns_s_ar, ntohs(hp->arcount) - 1);
139 HEADER *hp = (HEADER *)msg;
227 hp->arcount = htons(ntohs(hp->arcount) - 1);
305 hp->arcount = htons(ntohs(hp->arcount) + 1);
313 hp->arcount = htons(ntohs(hp->arcount) - 1);
344 HEADER *hp = (HEADER *)msg;
386 hp->arcount = htons(ntohs(hp->arcount) - 1);