Lines Matching refs:rip6_metric
599 rrt->rrt_info.rip6_metric = HOPCNT_INFINITY6;
773 if (np->rip6_metric == NEXTHOP_METRIC) {
783 np->rip6_plen, np->rip6_metric);
861 rrt_info.rip6_metric = 1;
862 rrt_info.rip6_metric += ifcp->ifc_metric;
909 np->rip6_metric = NEXTHOP_METRIC;
924 np->rip6_metric = NEXTHOP_METRIC;
1261 if (np->rip6_metric == NEXTHOP_METRIC) {
1279 np->rip6_plen, np->rip6_metric);
1285 np->rip6_plen, np->rip6_metric);
1291 np->rip6_plen, np->rip6_metric);
1298 np->rip6_plen, np->rip6_metric);
1303 np->rip6_plen, np->rip6_metric);
1339 np->rip6_metric++;
1340 np->rip6_metric += ifcp->ifc_metric;
1341 if (np->rip6_metric > HOPCNT_INFINITY6)
1342 np->rip6_metric = HOPCNT_INFINITY6;
1349 if (nq->rip6_metric > np->rip6_metric) {
1353 nq->rip6_metric = np->rip6_metric;
1366 } else if (nq->rip6_metric < np->rip6_metric &&
1370 nq->rip6_metric = np->rip6_metric;
1374 } else if (nq->rip6_metric == np->rip6_metric &&
1375 np->rip6_metric < HOPCNT_INFINITY6) {
1393 * if nq->rip6_metric == HOPCNT_INFINITY6 then
1396 } else if (np->rip6_metric < HOPCNT_INFINITY6) {
1456 np->rip6_metric = HOPCNT_INFINITY6;
1483 np->rip6_plen == 0 && np->rip6_metric == HOPCNT_INFINITY6)) {
1489 np->rip6_metric = rrt->rrt_info.rip6_metric;
1491 np->rip6_metric = HOPCNT_INFINITY6;
2025 rrt->rrt_info.rip6_metric = HOPCNT_INFINITY6;
2086 rrt->rrt_info.rip6_metric = HOPCNT_INFINITY6;
2113 rrt->rrt_info.rip6_metric =
2186 rrt->rrt_info.rip6_metric = 1 + ifcp->ifc_metric;
2196 if (search_rrt->rrt_info.rip6_metric <=
2197 rrt->rrt_info.rip6_metric) {
2227 loop_rrt->rrt_info.rip6_metric = HOPCNT_INFINITY6;
2371 rrt->rrt_info.rip6_metric = 1 + ifcp->ifc_metric;
2382 rrt->rrt_info.rip6_metric != orrt->rrt_info.rip6_metric) {
2714 np->rip6_metric = rtm->rtm_rmx.rmx_hopcount;
2715 if (np->rip6_metric < 1)
2716 np->rip6_metric = 1;
2729 if (orrt && orrt->rrt_info.rip6_metric != HOPCNT_INFINITY6) {
2781 if (orrt && orrt->rrt_info.rip6_metric == HOPCNT_INFINITY6) {
2810 np->rip6_metric - 1, buf2);
2814 np->rip6_metric - 1, buf2);
2827 rtm->rtm_rmx.rmx_hopcount = np->rip6_metric - 1;
3120 rrt->rrt_info.rip6_metric, (long)age);
3229 rrt->rrt_info.rip6_metric = 1;