Searched refs:CountLabels (Results 1 – 6 of 6) sorted by relevance
112 extern int CountLabels(const domainname *d);
1423 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()
1799 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 …]
1310 #define ApplySearchDomainsFirst(q) ((q)->AppendSearchDomains && (CountLabels(&((q)->qname))) == 1)
458 mDNSexport int CountLabels(const domainname *d) in CountLabels() function
583 dLabels = CountLabels(d);588 int delemLabels = CountLabels(&delem->name);2533 int labels = CountLabels(&q->qname); in SendAdditionalQuery()3019 (AlwaysAppendSearchDomains || CountLabels(&q->qname) == 1)) in handle_queryrecord_request()3466 if (hostname[strlen(hostname) - 1] != '.' && (AlwaysAppendSearchDomains || CountLabels(&d) == 1)) in handle_addrinfo_request()3494 if (hostname[strlen(hostname) - 1] != '.' && (AlwaysAppendSearchDomains || CountLabels(&d) == 1)) in handle_addrinfo_request()