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

/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DmDNS.c10565 mDNSlocal int BetterMatchForName(const domainname *name, int namecount, const domainname *newname, int newcount, argument
10570 if (namecount < newcount || newcount < bestcount) return -1;
10585 if (SameDomainName(SkipLeadingLabels(name, namecount - newcount), newname))
10598 int bestmatchlen = -1, namecount = CountLabels(&question->qname); local
10604 bettermatch = BetterMatchForName(&question->qname, namecount, &curr->domain, currcount, bestmatchlen);
10710 int bestmatchlen = -1, namecount = CountLabels(&question->qname); local
10747 bettermatch = BetterMatchForName(&question->qname, namecount, &curr->domain, currcount, bestmatchlen);
10788 int bestmatchlen = -1, namecount = name ? CountLabels(name) : 0; local
10836 bettermatch = BetterMatchForName(name, namecount, &curr->domain, currcount, bestmatchlen);

Completed in 108 milliseconds