Lines Matching defs:ncr
2419 CacheRecord *ncr;
2421 for (ncr = rr->nsec; ncr; ncr = ncr->next)
2423 if (ncr->resrec.rrtype == kDNSType_NSEC || ncr->resrec.rrtype == kDNSType_NSEC3)
2425 rrTTL = ncr->resrec.rroriginalttl - (now - ncr->TimeRcvd)/mDNSPlatformOneSecond;
2430 if (rrsigv && ncr->resrec.rrtype == kDNSType_RRSIG && SameDomainName(ncr->resrec.name, &rrsigv->name))
2432 RDataBody2 *rdb = (RDataBody2 *)ncr->resrec.rdata->u.data;
2434 if (rrsigv->rdlength != ncr->resrec.rdlength)
2441 mDNSu32 remain = (now - ncr->TimeRcvd)/mDNSPlatformOneSecond;
2442 rrsigTTL = ncr->resrec.rroriginalttl - remain;
2969 CacheRecord *ncr;
2970 for (ncr = cr->nsec; ncr; ncr = ncr->next)
2973 if (ncr->resrec.rrtype != kDNSType_NSEC && ncr->resrec.rrtype != kDNSType_NSEC3)
2979 if ((rv->rrtype == kDNSType_NSEC || rv->rrtype == kDNSType_NSEC3) && rv->rdlength == ncr->resrec.rdlength &&
2980 rv->rdatahash == ncr->resrec.rdatahash)
2982 if (SameDomainName(ncr->resrec.name, &rv->name) &&
2983 SameRDataBody(&ncr->resrec, (const RDataBody *)rv->rdata, SameDomainName))