Searched refs:DomainNameLength (Results 1 - 8 of 8) sorted by relevance

/external/mdnsresponder/mDNSCore/
H A DDNSDigest.c1352 MD5_Update(&c, info->keyname.c, DomainNameLength(&info->keyname));
1365 len = DomainNameLength(&HMAC_MD5_AlgName);
1458 ptr += DomainNameLength(algo);
1516 MD5_Update(&c, lcr->r.resrec.name->c, DomainNameLength(lcr->r.resrec.name));
1529 MD5_Update(&c, algo->c, DomainNameLength(algo));
H A DDNSCommon.h119 #define ValidateDomainName(N) (DomainNameLength(N) <= MAX_DOMAIN_NAME)
H A DDNSCommon.c373 mDNSu16 l1 = DomainNameLength(d1);
374 mDNSu16 l2 = DomainNameLength(d2);
483 mDNSu8 * ptr = name->c + DomainNameLength(name) - 1; // Find end of current name
506 mDNSu8 * ptr = name->c + DomainNameLength(name) - 1; // Find end of current name
548 mDNSu8 *ptr = name->c + DomainNameLength(name) - 1;
563 mDNSu8 * ptr = name->c + DomainNameLength(name) - 1; // Find end of current name
1448 return(mDNSu16)((estimate ? 2 : DomainNameLength(rr->name)) + (i ? (2 + i) : 0));
H A DuDNS.c1607 int initialskip = (AuthInfo && AuthInfo->AutoTunnel) ? DomainNameLength(name) - DomainNameLength(&AuthInfo->domain) : 0;
2540 hinfoSize = (m->hostlabel.c[0] + 1) + DomainNameLength(&AuthInfo->domain) +
2555 if (AuthInfo) tsigSize = DomainNameLength(&AuthInfo->keyname) + rr_base_size + 58;
2820 debugf("RREstimatedSize: ResourceRecord %##s (%s), DomainNameLength %d, zoneSize %d, rdestimate %d",
2821 rr->resrec.name->c, DNSTypeName(rr->resrec.rrtype), DomainNameLength(rr->resrec.name), zoneSize, rdlength);
2822 return DomainNameLength(rr->resrec.name) - zoneSize + 2 + 10 + rdlength;
2831 debugf("RREstimatedSize: ResourceRecord %##s (%s), DomainNameLength %d, zoneSize %d, rdestimate %d",
2832 rr->resrec.name->c, DNSTypeName(rr->resrec.rrtype), DomainNameLength(rr->resrec.name), zoneSize, rdlength);
2833 return DomainNameLength(r
[all...]
H A DmDNSEmbeddedAPI.h2285 #define AssignDomainName(DST, SRC) do { mDNSu16 len__ = DomainNameLength((SRC)); \
2307 #define DomainNameLength(name) DomainNameLengthLimit((name), (name)->c + MAX_DOMAIN_NAME) macro
H A DmDNS.c254 mDNSu16 namelen = DomainNameLength(rr->name);
2817 mDNSu32 forecast = (mDNSu32)DomainNameLength(&q->qname) + 4;
4136 mDNSu16 namelen = DomainNameLength(rr->name);
/external/mdnsresponder/mDNSShared/
H A Ddnsextd.c519 mDNSu16 i = DomainNameLength( zname );
520 mDNSu16 j = DomainNameLength( dname );
598 int i = ( int ) DomainNameLength( &q->qname ) - 1;
602 int j = ( int ) DomainNameLength( &elem->name ) - 1;
H A Duds_daemon.c2443 if (sd && (DomainNameLength(question->qnameOrig) + DomainNameLength(sd)) > MAX_DOMAIN_NAME)
2445 LogMsg("AppendNewSearchDomain: ERROR!! exceeding max domain length for %##s (%s) SearchDomain %##s length %d, Question name length %d", question->qnameOrig->c, DNSTypeName(question->qtype), sd->c, DomainNameLength(question->qnameOrig), DomainNameLength(sd));
2545 (*question2)->qnameOrig = mallocL("SendAdditionalQuery", DomainNameLength(q->qnameOrig));

Completed in 133 milliseconds