Searched refs:namehash (Results 1 – 10 of 10) sorted by relevance
/external/iproute2/lib/ |
D | ll_map.c | 55 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/ |
D | ll_map.h | 13 unsigned namehash(const char *str);
|
/external/mdnsresponder/mDNSCore/ |
D | uDNS.h | 78 …acheGroupForName(const mDNS *const m, const mDNSu32 slot, const mDNSu32 namehash, const domainname…
|
D | DNSCommon.h | 144 (r1)->namehash == (r2)->namehash && \
|
D | mDNS.c | 238 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 …]
|
D | mDNSEmbeddedAPI.h | 1090 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…
|
D | DNSCommon.c | 1267 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/ |
D | ipnetns.c | 147 #define NSID_HASH_NAME(name) (namehash(name) & (NSIDMAP_SIZE - 1))
|
/external/mdnsresponder/mDNSShared/ |
D | dnsextd.c | 821 bucket = ptr->rr.resrec.namehash % newnbuckets; in RehashTable() 1400 bucket = rr->namehash % d->nbuckets; in UpdateLeaseTable() 1446 bucket = rr->namehash % d->nbuckets; in UpdateLeaseTable()
|
D | uds_daemon.c | 545 rr->resrec.namehash = DomainNameHashValue(rr->resrec.name); in read_rr_from_ipc_msg()
|