Searched refs:DomainNameLength (Results 1 – 8 of 8) sorted by relevance
/external/mdnsresponder/mDNSCore/ |
D | DNSDigest.c | 1354 MD5_Update(&c, info->keyname.c, DomainNameLength(&info->keyname)); in DNSDigest_SignMessage() 1367 len = DomainNameLength(&HMAC_MD5_AlgName); in DNSDigest_SignMessage() 1460 ptr += DomainNameLength(algo); in DNSDigest_VerifyMessage() 1518 MD5_Update(&c, lcr->r.resrec.name->c, DomainNameLength(lcr->r.resrec.name)); in DNSDigest_VerifyMessage() 1531 MD5_Update(&c, algo->c, DomainNameLength(algo)); in DNSDigest_VerifyMessage()
|
D | DNSCommon.h | 119 #define ValidateDomainName(N) (DomainNameLength(N) <= MAX_DOMAIN_NAME)
|
D | uDNS.c | 1607 …int initialskip = (AuthInfo && AuthInfo->AutoTunnel) ? DomainNameLength(name) - DomainNameLength(&… in StartGetZoneData() 2540 hinfoSize = (m->hostlabel.c[0] + 1) + DomainNameLength(&AuthInfo->domain) + in RRAdditionalSize() 2555 if (AuthInfo) tsigSize = DomainNameLength(&AuthInfo->keyname) + rr_base_size + 58; in RRAdditionalSize() 2821 …rr->resrec.name->c, DNSTypeName(rr->resrec.rrtype), DomainNameLength(rr->resrec.name), zoneSize, r… in RREstimatedSize() 2822 return DomainNameLength(rr->resrec.name) - zoneSize + 2 + 10 + rdlength; in RREstimatedSize() 2832 …rr->resrec.name->c, DNSTypeName(rr->resrec.rrtype), DomainNameLength(rr->resrec.name), zoneSize, r… in RREstimatedSize() 2833 return DomainNameLength(rr->resrec.name) - zoneSize + 2 + 10 + 2 + 10 + rdlength; in RREstimatedSize() 2837 return DomainNameLength(rr->resrec.name) - zoneSize + 2 + 10 + rdlength; in RREstimatedSize() 2970 zoneSize = DomainNameLength(rr->zone) + 4; in SendGroupUpdates()
|
D | DNSCommon.c | 373 mDNSu16 l1 = DomainNameLength(d1); in SameDomainNameCS() 374 mDNSu16 l2 = DomainNameLength(d2); in SameDomainNameCS() 483 mDNSu8 * ptr = name->c + DomainNameLength(name) - 1; // Find end of current name in AppendLiteralLabelString() 506 mDNSu8 * ptr = name->c + DomainNameLength(name) - 1; // Find end of current name in AppendDNSNameString() 548 mDNSu8 *ptr = name->c + DomainNameLength(name) - 1; in AppendDomainLabel() 563 mDNSu8 * ptr = name->c + DomainNameLength(name) - 1; // Find end of current name in AppendDomainName() 1448 return(mDNSu16)((estimate ? 2 : DomainNameLength(rr->name)) + (i ? (2 + i) : 0)); in GetRDLength()
|
D | mDNSEmbeddedAPI.h | 2285 #define AssignDomainName(DST, SRC) do { mDNSu16 len__ = DomainNameLength((SRC)); \ 2307 #define DomainNameLength(name) DomainNameLengthLimit((name), (name)->c + MAX_DOMAIN_NAME) macro
|
D | mDNS.c | 254 mDNSu16 namelen = DomainNameLength(rr->name); in GetAuthGroup() 2817 mDNSu32 forecast = (mDNSu32)DomainNameLength(&q->qname) + 4; in AccelerateThisQuery() 4136 mDNSu16 namelen = DomainNameLength(rr->name); in GetCacheGroup()
|
/external/mdnsresponder/mDNSShared/ |
D | dnsextd.c | 519 mDNSu16 i = DomainNameLength( zname ); in ZoneHandlesName() 520 mDNSu16 j = DomainNameLength( dname ); in ZoneHandlesName() 598 int i = ( int ) DomainNameLength( &q->qname ) - 1; in IsPublicSRV() 602 int j = ( int ) DomainNameLength( &elem->name ) - 1; in IsPublicSRV()
|
D | uds_daemon.c | 2439 if (sd && (DomainNameLength(question->qnameOrig) + DomainNameLength(sd)) > MAX_DOMAIN_NAME) in AppendNewSearchDomain() 2441 …ameOrig->c, DNSTypeName(question->qtype), sd->c, DomainNameLength(question->qnameOrig), DomainName… in AppendNewSearchDomain() 2541 (*question2)->qnameOrig = mallocL("SendAdditionalQuery", DomainNameLength(q->qnameOrig)); in SendAdditionalQuery()
|