Lines Matching full:namehash
238 mDNSexport AuthGroup *AuthGroupForName(AuthHash *r, const mDNSu32 slot, const mDNSu32 namehash, const domainname *const name)
242 if (ag->namehash == namehash && SameDomainName(ag->name, name))
249 return(AuthGroupForName(r, slot, rr->namehash, rr->name));
258 ag->namehash = rr->namehash;
322 mDNSexport CacheGroup *CacheGroupForName(const mDNS *const m, const mDNSu32 slot, const mDNSu32 namehash, const domainname *const name)
326 if (cg->namehash == namehash && SameDomainName(cg->name, name))
333 return(CacheGroupForName(m, slot, rr->namehash, rr->name));
423 q->qnamehash = DomainNameHashValue(&q->qname); // and namehash
624 r1->resrec.namehash == r2->resrec.namehash &&
647 pktrr->resrec.namehash == authrr->resrec.namehash &&
1226 rr->resrec.namehash = DomainNameHashValue(rr->resrec.name);
1639 rr->resrec.rdatahash == rr2->resrec.namehash && // ... whose name is the name of the SRV target
1648 rr->resrec.namehash == rr2->resrec.namehash && // ... and have the same name
2157 rr->resrec.rdatahash == r2->resrec.namehash && // ... whose name is the name of the SRV target
2648 mDNSlocal void ReconfirmAntecedents(mDNS *const m, const domainname *const name, const mDNSu32 namehash, const int depth)
2657 if (crtarget && cr->resrec.rdatahash == namehash && SameDomainName(crtarget, name))
2661 if (depth < 5) ReconfirmAntecedents(m, cr->resrec.name, cr->resrec.namehash, depth+1);
2670 mDNSlocal const CacheRecord *CacheHasAddressTypeForName(mDNS *const m, const domainname *const name, const mDNSu32 namehash)
2672 CacheGroup *const cg = CacheGroupForName(m, HashSlot(name), namehash, name);
3486 mDNSlocal mDNSs32 CheckForSoonToExpireRecords(mDNS *const m, const domainname *const name, const mDNSu32 namehash, const mDNSu32 slot)
3491 CacheGroup *cg = CacheGroupForName(m, slot, namehash, name);
4140 cg->namehash = rr->namehash;
6797 if (target && cr->resrec.rdatahash == m->rec.r.resrec.namehash && SameDomainName(target, m->rec.r.resrec.name))
6922 CheckForSoonToExpireRecords(m, m->rec.r.resrec.name, m->rec.r.resrec.namehash, slot);
7040 r1->DelayDelivery = CheckForSoonToExpireRecords(m, r1->resrec.name, r1->resrec.namehash, slot);
7434 const domainname *const name, const mDNSu32 namehash, const mDNSu16 rrtype, const mDNSu16 rrclass, mDNSu32 ttl_seconds, mDNSInterfaceID InterfaceID, DNSServer *dnsserver)
7454 cr->resrec.namehash = namehash;
8724 if (status == mStatus_NoError) ReconfirmAntecedents(m, cr->resrec.name, cr->resrec.namehash, 0);
8737 if (status == mStatus_NoError) ReconfirmAntecedents(m, cr->resrec.name, cr->resrec.namehash, 0);