Lines Matching full:metric

898  * Update forwarding information to TA if metric improves.
906 int metric = 0; in hwmp_update_transmitter() local
919 metric = ms->ms_pmetric->mpm_metric(ni); in hwmp_update_transmitter()
921 rttran->rt_metric > metric) in hwmp_update_transmitter()
924 "%s path to transmitter %6D of %s, metric %d:%d", in hwmp_update_transmitter()
927 rttran->rt_metric, metric); in hwmp_update_transmitter()
929 rttran->rt_metric = metric; in hwmp_update_transmitter()
951 uint32_t metric = 0; in hwmp_recv_preq() local
1022 metric = preq->preq_metric + ms->ms_pmetric->mpm_metric(ni); in hwmp_recv_preq()
1025 metric < rtorig->rt_metric)) { in hwmp_recv_preq()
1028 rtorig->rt_metric = metric; in hwmp_recv_preq()
1049 /* Update forwarding information to TA if metric improves. */ in hwmp_recv_preq()
1276 uint32_t metric = 0; in hwmp_recv_prep() local
1321 /* update path metric */ in hwmp_recv_prep()
1322 metric = prep->prep_metric + ms->ms_pmetric->mpm_metric(ni); in hwmp_recv_prep()
1331 metric > rt->rt_metric) { in hwmp_recv_prep()
1333 "discard PREP from %6D, new metric %u > %u", in hwmp_recv_prep()
1335 metric, rt->rt_metric); in hwmp_recv_prep()
1341 "%s path to %6D, hopcount %d:%d metric %d:%d", in hwmp_recv_prep()
1346 rt->rt_metric, metric); in hwmp_recv_prep()
1351 rt->rt_metric = metric; in hwmp_recv_prep()
1360 /* Update forwarding information to TA if metric improves */ in hwmp_recv_prep()
1416 "%s path to %6D, hopcount %d:%d metric %d:%d", in hwmp_recv_prep()
1421 rtext->rt_metric, metric); in hwmp_recv_prep()
1430 rtext->rt_metric = metric; in hwmp_recv_prep()
1759 * RANN.metric > stored metric, discard RANN */ in hwmp_recv_rann()
1763 "RANN metric %u > %u", rann->rann_metric, rt->rt_metric); in hwmp_recv_rann()