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

/illumos-gate/usr/src/uts/common/ipp/ipgpc/
H A Dclassifier.c66 static int bestmatch(ht_match_t *, uint16_t);
349 class_id = bestmatch(fid_table, slctrs_srchd);
358 * bestmatch(fid_table, bestmask)
364 bestmatch(ht_match_t *fid_table, uint16_t bestmask) function
367 int bestmatch = -1; local
398 * and bestmatch() should continue
420 if (bestmatch == -1) { /* first matching filter */
421 /* this filter becomes the bestmatch */
428 bestmatch = key;
441 /* check to see if this is the new bestmatch */
[all...]
/illumos-gate/usr/src/lib/libnsl/nss/
H A Dnetdir_inet_sundry.c507 if_info_t *bestmatch, *ifn; local
513 bestmatch = NULL; /* no match yet */
563 bestmatch = ifn;
587 if (bestmatch == NULL) {
590 bestmatch = ifn;
606 if (bestmatch != NULL)
607 return (bestmatch->if_address.s_addr);
740 struct in_addr clientaddr, bestmatch; local
793 bestmatch.s_addr = get_best_match(clientaddr);
796 if (bestmatch
[all...]

Completed in 59 milliseconds