Lines Matching full:metric
64 * the same metric and next hop into a common route with a smaller netmask
240 * metric, it suppresses the target. in ag_flush()
277 char metric, in ag_check() argument
302 nc_ag.ag_metric = metric; in ag_check()
392 ag->ag_metric = metric; in ag_check()
426 * same gateway and have the same metric. in ag_check()
462 * with the worse metric can be promoted. in ag_check()
494 ag->ag_metric = metric; in ag_check()
495 metric = x; in ag_check()
581 nag->ag_metric = metric; in ag_check()
670 int metric, in rtioctl() argument
684 # define PAT " %-10s %s metric=%d flags=%#x" in rtioctl()
685 # define ARGS rtm_type_name(action), rtname(dst,mask,gate), metric, flags in rtioctl()
695 if (metric != 0 || action == RTM_CHANGE) { in rtioctl()
696 w.w_rtm.rtm_rmx.rmx_hopcount = metric; in rtioctl()
810 /* If a kernel route has a non-zero metric, check that it is still in the
1409 char metric, pref; in walk_kern() local
1422 * their metric in walk_kern()
1465 metric = RT->rt_metric; in walk_kern()
1466 if (metric == HOPCNT_INFINITY) { in walk_kern()
1474 metric,pref, 0, 0, ags, kern_out); in walk_kern()