Lines Matching refs:pktrr
636 mDNSlocal mDNSBool PacketRRMatchesSignature(const CacheRecord *const pktrr, const AuthRecord *const… in PacketRRMatchesSignature() argument
638 if (!pktrr) { LogMsg("PacketRRMatchesSignature ERROR: pktrr is NULL"); return(mDNSfalse); } in PacketRRMatchesSignature()
640 if (pktrr->resrec.InterfaceID && in PacketRRMatchesSignature()
642 pktrr->resrec.InterfaceID != authrr->resrec.InterfaceID) return(mDNSfalse); in PacketRRMatchesSignature()
644 if (pktrr->resrec.rrtype != authrr->resrec.rrtype) return(mDNSfalse); in PacketRRMatchesSignature()
646 pktrr->resrec.rrclass == authrr->resrec.rrclass && in PacketRRMatchesSignature()
647 pktrr->resrec.namehash == authrr->resrec.namehash && in PacketRRMatchesSignature()
648 SameDomainName(pktrr->resrec.name, authrr->resrec.name)); in PacketRRMatchesSignature()
5518 mDNSlocal mDNSBool MatchDependentOn(const mDNS *const m, const CacheRecord *const pktrr, const Auth… in MatchDependentOn() argument
5523 if (IdenticalResourceRecord(&r1->resrec, &pktrr->resrec)) in MatchDependentOn()
5532 if (IdenticalResourceRecord(&r1->resrec, &pktrr->resrec)) in MatchDependentOn()
5546 mDNSlocal const AuthRecord *FindRRSet(const mDNS *const m, const CacheRecord *const pktrr) in FindRRSet() argument
5551 if (IdenticalResourceRecord(&rr->resrec, &pktrr->resrec)) in FindRRSet()
5569 … PacketRRConflict(const mDNS *const m, const AuthRecord *const our, const CacheRecord *const pktrr) in PacketRRConflict() argument
5575 if (our->DependentOn || MatchDependentOn(m, pktrr, our)) return(mDNSfalse); in PacketRRConflict()
5580 const AuthRecord *pktset = FindRRSet(m, pktrr); in PacketRRConflict()
5649 …cal CacheRecord *FindIdenticalRecordInCache(const mDNS *const m, const ResourceRecord *const pktrr) in FindIdenticalRecordInCache() argument
5651 mDNSu32 slot = HashSlot(pktrr->name); in FindIdenticalRecordInCache()
5652 CacheGroup *cg = CacheGroupForRecord(m, slot, pktrr); in FindIdenticalRecordInCache()
5657 …match = !pktrr->InterfaceID ? pktrr->rDNSServer == rr->resrec.rDNSServer : pktrr->InterfaceID == r… in FindIdenticalRecordInCache()
5658 if (match && IdenticalSameNameRecord(pktrr, &rr->resrec)) break; in FindIdenticalRecordInCache()