Lines Matching refs:nsec
29 #include <dns/nsec.h>
194 dns_nsec_typepresent(dns_rdata_t *nsec, dns_rdatatype_t type) {
200 REQUIRE(nsec != NULL);
201 REQUIRE(nsec->type == dns_rdatatype_nsec);
204 result = dns_rdata_tostruct(nsec, &nsecstruct, NULL);
298 dns_rdata_nsec_t nsec;
343 "ignoring parent nsec");
352 "ignoring child nsec");
361 "nsec proves name exists (owner) data=%d",
378 (*logit)(arg, ISC_LOG_DEBUG(3), "ignoring parent nsec");
382 result = dns_rdata_tostruct(&rdata, &nsec, NULL);
385 relation = dns_name_fullcompare(&nsec.next, name, &order, &nlabels);
387 dns_rdata_freestruct(&nsec);
389 "ignoring nsec matches next name");
393 if (order < 0 && !dns_name_issubdomain(nsecname, &nsec.next)) {
397 dns_rdata_freestruct(&nsec);
399 "ignoring nsec because name is past end of range");
405 "nsec proves name exist (empty)");
406 dns_rdata_freestruct(&nsec);
419 labels = dns_name_countlabels(&nsec.next);
420 dns_name_getlabelsequence(&nsec.next, labels - nlabels,
426 dns_rdata_freestruct(&nsec);
432 dns_rdata_freestruct(&nsec);
433 (*logit)(arg, ISC_LOG_DEBUG(3), "nsec range ok");