Home
last modified time | relevance | path

Searched refs:CountLabels (Results 1 – 6 of 6) sorted by relevance

/external/mdnsresponder/mDNSCore/
DDNSCommon.h112 extern int CountLabels(const domainname *d);
DuDNS.c1423 const int srvcount = CountLabels(rr->resrec.name); in GetServiceTarget()
1430 int x, hostcount = CountLabels(&hi->fqdn); in GetServiceTarget()
3800 c1 = CountLabels(newRR->resrec.name); in RecordRegistrationGotZoneData()
3801 c2 = CountLabels(&zoneData->ZoneName); in RecordRegistrationGotZoneData()
4132 …if (CountLabels(qname) < 4) { debugf("WABQuestion: question %##s, not enough labels", qname->c); r… in WABQuestion()
4885 int labels = CountLabels(&p->domain); in uDNS_GetNextSearchDomain()
DmDNS.c1799 int skip = CountLabels(name) - 6; in GetIPv4FromName()
1818 int skip = CountLabels(name) - 34; in GetIPv6FromName()
1842 int skip = CountLabels(name) - 2; in ReverseMapDomainType()
7130 int qcount = CountLabels(&q.qname); in mDNSCoreReceiveResponse()
7131 int scount = CountLabels(m->rec.r.resrec.name); in mDNSCoreReceiveResponse()
7810 int bestmatchlen = -1, namecount = CountLabels(&question->qname); in GetTimeoutForMcastQuestion()
7815 currcount = CountLabels(&curr->domain); in GetTimeoutForMcastQuestion()
7834 int bestmatchlen = -1, namecount = CountLabels(&question->qname); in SetValidDNSServers()
7859 currcount = CountLabels(&curr->domain); in SetValidDNSServers()
7895 int bestmatchlen = -1, namecount = name ? CountLabels(name) : 0; in GetBestServer()
[all …]
DmDNSEmbeddedAPI.h1299 #define ApplySearchDomainsFirst(q) ((q)->AppendSearchDomains && (CountLabels(&((q)->qname))) == 1)
DDNSCommon.c458 mDNSexport int CountLabels(const domainname *d) in CountLabels() function
/external/mdnsresponder/mDNSShared/
Duds_daemon.c583 dLabels = CountLabels(d);
588 int delemLabels = CountLabels(&delem->name);
2527 int labels = CountLabels(&q->qname); in SendAdditionalQuery()
3013 (AlwaysAppendSearchDomains || CountLabels(&q->qname) == 1)) in handle_queryrecord_request()
3460 if (hostname[strlen(hostname) - 1] != '.' && (AlwaysAppendSearchDomains || CountLabels(&d) == 1)) in handle_addrinfo_request()
3488 if (hostname[strlen(hostname) - 1] != '.' && (AlwaysAppendSearchDomains || CountLabels(&d) == 1)) in handle_addrinfo_request()