Lines Matching defs:pktrr

760 mDNSlocal mDNSBool PacketRRMatchesSignature(const CacheRecord *const pktrr, const AuthRecord *const authrr)
762 if (!pktrr) { LogMsg("PacketRRMatchesSignature ERROR: pktrr is NULL"); return(mDNSfalse); }
764 if (pktrr->resrec.InterfaceID &&
766 pktrr->resrec.InterfaceID != authrr->resrec.InterfaceID) return(mDNSfalse);
768 if (pktrr->resrec.rrtype != authrr->resrec.rrtype) return(mDNSfalse);
770 pktrr->resrec.rrclass == authrr->resrec.rrclass &&
771 pktrr->resrec.namehash == authrr->resrec.namehash &&
772 SameDomainName(pktrr->resrec.name, authrr->resrec.name));
6969 mDNSlocal mDNSBool MatchDependentOn(const mDNS *const m, const CacheRecord *const pktrr, const AuthRecord *const master)
6974 if (IdenticalResourceRecord(&r1->resrec, &pktrr->resrec))
6983 if (IdenticalResourceRecord(&r1->resrec, &pktrr->resrec))
6997 mDNSlocal const AuthRecord *FindRRSet(const mDNS *const m, const CacheRecord *const pktrr)
7002 if (IdenticalResourceRecord(&rr->resrec, &pktrr->resrec))
7011 // PacketRRConflict is called when we've received an RR (pktrr) which has the same name
7020 mDNSlocal mDNSBool PacketRRConflict(const mDNS *const m, const AuthRecord *const our, const CacheRecord *const pktrr)
7026 if (our->DependentOn || MatchDependentOn(m, pktrr, our)) return(mDNSfalse);
7029 // If the pktrr matches a member of ourset, not a conflict
7031 const AuthRecord *pktset = FindRRSet(m, pktrr);
7100 mDNSlocal CacheRecord *FindIdenticalRecordInCache(const mDNS *const m, const ResourceRecord *const pktrr)
7102 mDNSu32 slot = HashSlot(pktrr->name);
7103 CacheGroup *cg = CacheGroupForRecord(m, slot, pktrr);
7108 if (!pktrr->InterfaceID)
7110 mDNSu16 id1 = (pktrr->rDNSServer ? pktrr->rDNSServer->resGroupID : 0);
7114 else match = (pktrr->InterfaceID == rr->resrec.InterfaceID);
7116 if (match && IdenticalSameNameRecord(pktrr, &rr->resrec)) break;