Home | History | Annotate | Download | only in netinet

Lines Matching defs:score

158  * Score by address preference: prefer addresses with higher preference
169 * Score by address "index": prefer addresses nearer the head of
244 in_score(const in_score_src_t *score_src, int *score, int *scorelenp,
251 score[i] = (*score_src[i])(src, preference, idx, dst);
271 in_score_println(int *score, int scorelen)
277 printf("%s%d", delim, score[i]);
304 int best_score[IN_SCORE_SRC_MAX], score[IN_SCORE_SRC_MAX];
339 printf("%s: enter dst %#" PRIx32 " src %#" PRIx32 " score ",
357 in_score(score_src, score, NULL, &src->sin_addr,
362 printf("%s: src %#" PRIx32 " score ", __func__,
364 in_score_println(score, scorelen);
368 if (in_score_cmp(score, best_score, scorelen) > 0) {
369 (void)memcpy(best_score, score, sizeof(best_score));
380 printf("%s: choose src %#" PRIx32 " score ", __func__,