Lines Matching defs:header
168 HEADER header;
260 if (response->header.qdcount != 1) {
274 rrset->rri_nrdatas = response->header.ancount;
278 if (response->header.ad == 1)
398 /* copy header */
399 memcpy(&resp->header, cp, HFIXEDSZ);
402 /* fix header byte order */
403 resp->header.qdcount = ntohs(resp->header.qdcount);
404 resp->header.ancount = ntohs(resp->header.ancount);
405 resp->header.nscount = ntohs(resp->header.nscount);
406 resp->header.arcount = ntohs(resp->header.arcount);
409 if (resp->header.qdcount < 1) {
416 resp->header.qdcount);
417 if (resp->header.qdcount && resp->query == NULL) {
424 resp->header.ancount);
425 if (resp->header.ancount && resp->answer == NULL) {
432 resp->header.nscount);
433 if (resp->header.nscount && resp->authority == NULL) {
440 resp->header.arcount);
441 if (resp->header.arcount && resp->additional == NULL) {