Lines Matching refs:bestmatch
66 static int bestmatch(ht_match_t *, uint16_t);
349 class_id = bestmatch(fid_table, slctrs_srchd); in ipgpc_classify()
364 bestmatch(ht_match_t *fid_table, uint16_t bestmask) in bestmatch() function
367 int bestmatch = -1; in bestmatch() local
420 if (bestmatch == -1) { /* first matching filter */ in bestmatch()
428 bestmatch = key; in bestmatch()
443 oldbm = bestmatch; in bestmatch()
451 bestmatch = key; in bestmatch()
462 if (bestmatch == -1) { /* no best matches were found */ in bestmatch()
468 ipgpc_fid_list[bestmatch].filter.filter_name, in bestmatch()
469 ipgpc_fid_list[bestmatch].filter.priority, in bestmatch()
470 ipgpc_fid_list[bestmatch].filter.precedence)); in bestmatch()
471 return (ipgpc_fid_list[bestmatch].class_id); in bestmatch()