Lines Matching defs:metric
78 * the same metric and next hop into a common route with a smaller netmask
211 * only if it has a good enough metric and it
319 uint8_t metric,
348 nc_ag.ag_metric = metric;
445 ag->ag_metric = metric;
491 * same gateway and have the same metric.
529 * with the worse metric can be promoted.
566 ag->ag_metric = metric;
567 metric = tmp;
652 nag->ag_metric = metric;
748 trace_misc("ifam: flags %X index %d metric %d",
799 uint8_t metric,
813 #define PAT " %-10s %s metric=%d flags=%#x"
814 #define ARGS rtm_type_name(action), rtname(dst, mask, gate), metric, flags
828 if (metric != 0 || action == RTM_CHANGE) {
829 w.w_rtm.rtm_rmx.rmx_hopcount = metric;
1279 " deprecating route to metric 15",
1979 uint8_t metric, pref;
2005 * their metric
2054 metric = RT->rt_metric;
2055 if (metric == HOPCNT_INFINITY) {
2063 * dump all routes that have the same metric as rt_spares[0]
2073 if (rts->rts_metric == metric) {
2076 metric, pref, 0, 0,
2709 * If the main route is getting a worse metric,