Lines Matching defs:pktrr

752 mDNSlocal mDNSBool PacketRRMatchesSignature(const CacheRecord *const pktrr, const AuthRecord *const authrr)
754 if (!pktrr) { LogMsg("PacketRRMatchesSignature ERROR: pktrr is NULL"); return(mDNSfalse); }
756 if (pktrr->resrec.InterfaceID &&
758 pktrr->resrec.InterfaceID != authrr->resrec.InterfaceID) return(mDNSfalse);
760 if (pktrr->resrec.rrtype != authrr->resrec.rrtype) return(mDNSfalse);
762 pktrr->resrec.rrclass == authrr->resrec.rrclass &&
763 pktrr->resrec.namehash == authrr->resrec.namehash &&
764 SameDomainName(pktrr->resrec.name, authrr->resrec.name));
6866 mDNSlocal mDNSBool MatchDependentOn(const mDNS *const m, const CacheRecord *const pktrr, const AuthRecord *const master)
6871 if (IdenticalResourceRecord(&r1->resrec, &pktrr->resrec))
6880 if (IdenticalResourceRecord(&r1->resrec, &pktrr->resrec))
6894 mDNSlocal const AuthRecord *FindRRSet(const mDNS *const m, const CacheRecord *const pktrr)
6899 if (IdenticalResourceRecord(&rr->resrec, &pktrr->resrec))
6908 // PacketRRConflict is called when we've received an RR (pktrr) which has the same name
6917 mDNSlocal mDNSBool PacketRRConflict(const mDNS *const m, const AuthRecord *const our, const CacheRecord *const pktrr)
6923 if (our->DependentOn || MatchDependentOn(m, pktrr, our)) return(mDNSfalse);
6926 // If the pktrr matches a member of ourset, not a conflict
6928 const AuthRecord *pktset = FindRRSet(m, pktrr);
6997 mDNSlocal CacheRecord *FindIdenticalRecordInCache(const mDNS *const m, const ResourceRecord *const pktrr)
6999 mDNSu32 slot = HashSlot(pktrr->name);
7000 CacheGroup *cg = CacheGroupForRecord(m, slot, pktrr);
7005 if (!pktrr->InterfaceID)
7007 mDNSu16 id1 = (pktrr->rDNSServer ? pktrr->rDNSServer->resGroupID : 0);
7011 else match = (pktrr->InterfaceID == rr->resrec.InterfaceID);
7013 if (match && IdenticalSameNameRecord(pktrr, &rr->resrec)) break;