Lines Matching refs:lcr
552 LargeCacheRecord lcr; in IsLLQRequest() local
566 ptr = GetLargeResourceRecord(NULL, &pkt->msg, ptr, end, 0, kDNSRecordTypePacketAdd, &lcr); in IsLLQRequest()
570 …if ( lcr.r.resrec.rrtype == kDNSType_OPT && lcr.r.resrec.rdlength >= DNSOpt_LLQData_Space && lcr.r… in IsLLQRequest()
1378 LargeCacheRecord lcr; in UpdateLeaseTable() local
1379 ResourceRecord *rr = &lcr.r.resrec; in UpdateLeaseTable()
1398 ptr = GetLargeResourceRecord(NULL, &pkt->msg, ptr, end, 0, kDNSRecordTypePacketAns, &lcr); in UpdateLeaseTable()
1399 …if (!ptr || lcr.r.resrec.RecordType == kDNSRecordTypePacketNegative) { Log("UpdateLeaseTable: GetL… in UpdateLeaseTable()
1438 …VLog("Refreshing lease for %s", GetRRDisplayString_rdb(&lcr.r.resrec, &lcr.r.resrec.rdata->u, buf)… in UpdateLeaseTable()
1454 memcpy(&tmp->rr, &lcr.r, sizeof(CacheRecord) + rr->rdlength - InlineCacheRDSize); in UpdateLeaseTable()
1464 …VLog("Adding update for %s to lease table", GetRRDisplayString_rdb(&lcr.r.resrec, &lcr.r.resrec.rd… in UpdateLeaseTable()
1526 LargeCacheRecord lcr; in HandleRequest() local
1527 ptr = GetLargeResourceRecord(NULL, &request->msg, ptr, end, 0, kDNSRecordTypePacketAns, &lcr); in HandleRequest()
1528 …if (lcr.r.resrec.RecordType != kDNSRecordTypePacketNegative && lcr.r.resrec.rroriginalttl) adds++;… in HandleRequest()
1746 LargeCacheRecord lcr; in AnswerQuestion() local
1797 ansptr = GetLargeResourceRecord(NULL, &reply->msg, ansptr, end, 0, kDNSRecordTypePacketAns, &lcr); in AnswerQuestion()
1799 if (lcr.r.resrec.RecordType != kDNSRecordTypePacketNegative) in AnswerQuestion()
1801 …if (lcr.r.resrec.rrtype != e->type || lcr.r.resrec.rrclass != kDNSClass_IN || !SameDomainName(lcr.… in AnswerQuestion()
1804 lcr.r.resrec.name->c, lcr.r.resrec.rrtype, e->name.c, e->type); in AnswerQuestion()
1808 CacheRecord *cr = CopyCacheRecord(&lcr.r, &e->name); in AnswerQuestion()
2391 LargeCacheRecord lcr; in IsAuthorized() local
2413 ptr = GetLargeResourceRecord(NULL, &pkt->msg, ptr, end, 0, kDNSRecordTypePacketAdd, &lcr); in IsAuthorized()
2422 …hasTSIG = ( ptr && lcr.r.resrec.RecordType != kDNSRecordTypePacketNegative && lcr.r.resrec.rrtype … in IsAuthorized()
2466 Log( "Invalid TSIG spec %##s for zone %##s", lcr.r.resrec.name->c, pkt->zone->name.c ); in IsAuthorized()
2478 if ( SameDomainName( lcr.r.resrec.name, &(*key)->keyname ) ) in IsAuthorized()
2486 Log( "Invalid TSIG name %##s for zone %##s", lcr.r.resrec.name->c, pkt->zone->name.c ); in IsAuthorized()
2501 ok = DNSDigest_VerifyMessage( &pkt->msg, ( mDNSu8* ) lastPtr, &lcr, (*key), rcode, tcode ); in IsAuthorized()