Lines Matching refs:header
74 #define NXDOMAIN(header) \
75 (((header)->attributes & RDATASET_ATTR_NXDOMAIN) != 0)
76 #define NEGATIVE(header) \
77 (((header)->attributes & RDATASET_ATTR_NEGATIVE) != 0)
227 rdatasetheader_t *header;
239 while ((header = ISC_LIST_HEAD(node->rdatasets)) != NULL) {
242 ISC_LIST_UNLINK(node->rdatasets, header, link);
244 dns_rdataslab_size((unsigned char *)header,
245 sizeof(*header));
246 isc_mem_put(mctx, header, headersize);
387 rdatasetheader_t *header, dns_rdataset_t *rdataset)
399 rdataset->type = header->type;
400 rdataset->covers = header->covers;
401 rdataset->ttl = header->ttl;
402 rdataset->trust = header->trust;
403 if (NXDOMAIN(header))
405 if (NEGATIVE(header))
410 raw = (unsigned char *)header + sizeof(*header);
434 rdatasetheader_t *header;
451 for (header = ISC_LIST_HEAD(ecdbnode->rdatasets); header != NULL;
452 header = ISC_LIST_NEXT(header, link)) {
453 INSIST(header->type != rdataset->type ||
454 header->covers != rdataset->covers);
462 header = (rdatasetheader_t *)r.base;
463 header->type = rdataset->type;
464 header->ttl = rdataset->ttl;
465 header->trust = rdataset->trust;
466 header->covers = rdataset->covers;
467 header->attributes = 0;
469 header->attributes |= RDATASET_ATTR_NXDOMAIN;
471 header->attributes |= RDATASET_ATTR_NEGATIVE;
472 ISC_LINK_INIT(header, link);
473 ISC_LIST_APPEND(ecdbnode->rdatasets, header, link);
478 bind_rdataset(ecdb, ecdbnode, header, addedrdataset);
761 rdatasetheader_t *header = rdataset->private3;
763 header--;
764 header->trust = rdataset->trust = trust;