Home
last modified time | relevance | path

Searched refs:namehash (Results 1 – 10 of 10) sorted by relevance

/external/iproute2/lib/
Dll_map.c55 unsigned namehash(const char *str) in namehash() function
68 unsigned h = namehash(name) & (IDXMAP_SIZE - 1); in ll_get_by_name()
116 h = namehash(ifname) & (IDXMAP_SIZE - 1); in ll_remember_index()
135 h = namehash(ifname) & (IDXMAP_SIZE - 1); in ll_remember_index()
/external/iproute2/include/
Dll_map.h13 unsigned namehash(const char *str);
/external/mdnsresponder/mDNSCore/
DuDNS.h78 …acheGroupForName(const mDNS *const m, const mDNSu32 slot, const mDNSu32 namehash, const domainname…
DDNSCommon.h144 (r1)->namehash == (r2)->namehash && \
DmDNS.c238 mDNSexport AuthGroup *AuthGroupForName(AuthHash *r, const mDNSu32 slot, const mDNSu32 namehash, con… in AuthGroupForName() argument
242 if (ag->namehash == namehash && SameDomainName(ag->name, name)) in AuthGroupForName()
249 return(AuthGroupForName(r, slot, rr->namehash, rr->name)); in AuthGroupForRecord()
258 ag->namehash = rr->namehash; in GetAuthGroup()
322 …acheGroupForName(const mDNS *const m, const mDNSu32 slot, const mDNSu32 namehash, const domainname… in CacheGroupForName() argument
326 if (cg->namehash == namehash && SameDomainName(cg->name, name)) in CacheGroupForName()
333 return(CacheGroupForName(m, slot, rr->namehash, rr->name)); in CacheGroupForRecord()
624 r1->resrec.namehash == r2->resrec.namehash && in SameResourceRecordNameClassInterface()
647 pktrr->resrec.namehash == authrr->resrec.namehash && in PacketRRMatchesSignature()
1226 rr->resrec.namehash = DomainNameHashValue(rr->resrec.name); in mDNS_Register_internal()
[all …]
DmDNSEmbeddedAPI.h1090 mDNSu32 namehash; // Name-based (i.e. case-insensitive) hash of name member
1139 mDNSu32 namehash; // Name-based (i.e. case insensitive) hash of name member
1311 mDNSu32 namehash; // Name-based (i.e. case insensitive) hash of name member
2723 …const domainname *const name, const mDNSu32 namehash, const mDNSu16 rrtype, const mDNSu16 rrclass,…
2736 extern AuthGroup *AuthGroupForName(AuthHash *r, const mDNSu32 slot, const mDNSu32 namehash, const d…
DDNSCommon.c1267 return(rr->namehash == q->qnamehash && SameDomainName(rr->name, &q->qname)); in ResourceRecordAnswersQuestion()
1343 return(rr->namehash == q->qnamehash && SameDomainName(rr->name, &q->qname)); in LocalOnlyRecordAnswersQuestion()
1369 return(rr->namehash == q->qnamehash && SameDomainName(rr->name, &q->qname)); in AnyTypeRecordAnswersQuestion()
1391 return(rr->namehash == q->qnamehash && SameDomainName(rr->name, &q->qname)); in ResourceRecordAnswersUnicastResponse()
2170 rr->resrec.namehash = DomainNameHashValue(rr->resrec.name); in GetLargeResourceRecord()
/external/iproute2/ip/
Dipnetns.c147 #define NSID_HASH_NAME(name) (namehash(name) & (NSIDMAP_SIZE - 1))
/external/mdnsresponder/mDNSShared/
Ddnsextd.c821 bucket = ptr->rr.resrec.namehash % newnbuckets; in RehashTable()
1400 bucket = rr->namehash % d->nbuckets; in UpdateLeaseTable()
1446 bucket = rr->namehash % d->nbuckets; in UpdateLeaseTable()
Duds_daemon.c545 rr->resrec.namehash = DomainNameHashValue(rr->resrec.name); in read_rr_from_ipc_msg()