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

/illumos-gate/usr/src/lib/libnsl/nss/
H A Dnetdir_inet_sundry.c508 int bestcount, count, limit; local
514 bestcount = BITSPERBYTE * sizeof (uint32_t); /* worst match */
518 subnet_count = bestcount; /* worst subnet match */
562 bestcount = count;
569 if (count >= bestcount || count > limit || subnet_match)
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DmDNS.c10561 //seen so far (given in bestcount).
10566 int bestcount)
10570 if (namecount < newcount || newcount < bestcount) return -1;
10575 // If we find a match and the number of labels is the same as bestcount, then
10579 // If we find a match and the number of labels is more than bestcount, then we
10582 // Note: newcount can either be equal or greater than bestcount beause of the
10586 return bestcount == newcount ? 0 : 1;
10565 BetterMatchForName(const domainname *name, int namecount, const domainname *newname, int newcount, int bestcount) argument

Completed in 149 milliseconds