Lines Matching refs:rec

4072 	LogMsg("No cache space: Delivering non-cached result for %##s", m->rec.r.resrec.name->c);
4865 ptr = GetLargeResourceRecord(m, query, ptr, end, q->InterfaceID, kDNSRecordTypePacketAuth, &m->rec);
4867 if (ResourceRecordAnswersQuestion(&m->rec.r.resrec, q))
4870 if (PacketRRConflict(m, our, &m->rec.r))
4872 int result = (int)our->resrec.rrclass - (int)m->rec.r.resrec.rrclass;
4873 if (!result) result = (int)our->resrec.rrtype - (int)m->rec.r.resrec.rrtype;
4874 if (!result) result = CompareRData(our, &m->rec.r);
4885 m->rec.r.resrec.RecordType = 0; // Clear RecordType to show we're not still using it
4890 m->rec.r.resrec.RecordType = 0; // Clear RecordType to show we're not still using it
5053 ptr = GetLargeResourceRecord(m, query, ptr, end, InterfaceID, kDNSRecordTypePacketAns, &m->rec);
5058 if (MustSendRecord(rr) && ShouldSuppressKnownAnswer(&m->rec.r, rr))
5065 if (rr->ImmedAnswer == InterfaceID && ShouldSuppressKnownAnswer(&m->rec.r, rr))
5088 ourcacherr = FindIdenticalRecordInCache(m, &m->rec.r.resrec);
5102 if (rr->resrec.InterfaceID == InterfaceID && IdenticalResourceRecord(&m->rec.r.resrec, &rr->resrec))
5114 if (ResourceRecordAnswersQuestion(&m->rec.r.resrec, q))
5119 m->rec.r.resrec.RecordType = 0; // Clear RecordType to show we're not still using it
5235 m->rec.r.resrec.RecordType = 0; // Clear RecordType to show we're not still using it
5416 ptr = GetLargeResourceRecord(m, response, ptr, end, InterfaceID, RecordType, &m->rec);
5426 if (PacketRRMatchesSignature(&m->rec.r, rr)) // If interface, name, type (if shared record) and class match...
5429 if (m->rec.r.resrec.rrtype == rr->resrec.rrtype && SameRData(&m->rec.r.resrec, &rr->resrec))
5432 if (m->rec.r.resrec.rroriginalttl >= rr->resrec.rroriginalttl/2 || m->SleepState)
5444 else if (m->rec.r.resrec.rroriginalttl > 0 && PacketRRConflict(m, rr, &m->rec.r))
5447 debugf("mDNSCoreReceiveResponse: Pkt Record: %08lX %s", m->rec.r.resrec.rdatahash, CRDisplayString(m, &m->rec.r));
5491 else if (m->rec.r.resrec.rrtype == rr->resrec.rrtype)
5492 if ((m->rec.r.resrec.RecordType & kDNSRecordTypePacketUniqueMask) && m->timenow - rr->LastMCTime > mDNSPlatformOneSecond/2)
5500 const mDNSu32 slot = HashSlot(m->rec.r.resrec.name);
5501 CacheGroup *cg = CacheGroupForRecord(m, slot, &m->rec.r.resrec);
5507 if (rr->resrec.InterfaceID == InterfaceID && IdenticalResourceRecord(&m->rec.r.resrec, &rr->resrec))
5509 if (m->rec.r.resrec.rdlength > InlineCacheRDSize)
5511 m->rec.r.resrec.rdlength, InterfaceID, CRDisplayString(m, &m->rec.r));
5514 if (m->rec.r.resrec.RecordType & kDNSRecordTypePacketUniqueMask)
5525 rr->resrec.RecordType = m->rec.r.resrec.RecordType;
5529 if (!mDNSPlatformMemSame(m->rec.r.resrec.rdata->u.data, rr->resrec.rdata->u.data, m->rec.r.resrec.rdlength))
5539 else if (m->rec.r.resrec.rroriginalttl > 0)
5541 rr->resrec.rroriginalttl = m->rec.r.resrec.rroriginalttl;
5566 if (!rr && m->rec.r.resrec.rroriginalttl > 0)
5569 if (!cg) cg = GetCacheGroup(m, slot, &m->rec.r.resrec);
5570 if (cg) rr = GetCacheRecord(m, cg, m->rec.r.resrec.rdlength); // Make a cache record, being careful not to recycle cg
5571 if (!rr) NoCacheAnswer(m, &m->rec.r);
5575 *rr = m->rec.r; // Block copy the CacheRecord object
5581 if (rr->resrec.rdata != (RData*)&rr->rdatastorage && !(m->rec.r.resrec.rdlength > InlineCacheRDSize))
5582 LogMsg("rr->resrec.rdata != &rr->rdatastorage but length <= InlineCacheRDSize %##s", m->rec.r.resrec.name->c);
5583 if (m->rec.r.resrec.rdlength > InlineCacheRDSize)
5584 mDNSPlatformMemCopy(m->rec.r.resrec.rdata, rr->resrec.rdata, sizeofRDataHeader + m->rec.r.resrec.rdlength);
5596 m->rec.r.resrec.RecordType = 0; // Clear RecordType to show we're not still using it
5600 m->rec.r.resrec.RecordType = 0; // Clear RecordType to show we're not still using it
7212 m->rec.r.resrec.RecordType = 0;