Lines Matching refs:rip6_metric
596 rrt->rrt_info.rip6_metric = HOPCNT_INFINITY6;
772 if (np->rip6_metric == NEXTHOP_METRIC) {
782 np->rip6_plen, np->rip6_metric);
867 rrt_info.rip6_metric = 1;
868 rrt_info.rip6_metric += ifcp->ifc_metric;
915 np->rip6_metric = NEXTHOP_METRIC;
930 np->rip6_metric = NEXTHOP_METRIC;
1269 if (np->rip6_metric == NEXTHOP_METRIC) {
1287 np->rip6_plen, np->rip6_metric);
1293 np->rip6_plen, np->rip6_metric);
1299 np->rip6_plen, np->rip6_metric);
1306 np->rip6_plen, np->rip6_metric);
1311 np->rip6_plen, np->rip6_metric);
1347 np->rip6_metric++;
1348 np->rip6_metric += ifcp->ifc_metric;
1349 if (np->rip6_metric > HOPCNT_INFINITY6)
1350 np->rip6_metric = HOPCNT_INFINITY6;
1357 if (nq->rip6_metric > np->rip6_metric) {
1361 nq->rip6_metric = np->rip6_metric;
1374 } else if (nq->rip6_metric < np->rip6_metric &&
1378 nq->rip6_metric = np->rip6_metric;
1382 } else if (nq->rip6_metric == np->rip6_metric &&
1383 np->rip6_metric < HOPCNT_INFINITY6) {
1401 * if nq->rip6_metric == HOPCNT_INFINITY6 then
1404 } else if (np->rip6_metric < HOPCNT_INFINITY6) {
1464 np->rip6_metric = HOPCNT_INFINITY6;
1491 np->rip6_plen == 0 && np->rip6_metric == HOPCNT_INFINITY6)) {
1497 np->rip6_metric = rrt->rrt_info.rip6_metric;
1499 np->rip6_metric = HOPCNT_INFINITY6;
2043 rrt->rrt_info.rip6_metric = HOPCNT_INFINITY6;
2104 rrt->rrt_info.rip6_metric = HOPCNT_INFINITY6;
2131 rrt->rrt_info.rip6_metric =
2204 rrt->rrt_info.rip6_metric = 1 + ifcp->ifc_metric;
2214 if (search_rrt->rrt_info.rip6_metric <=
2215 rrt->rrt_info.rip6_metric) {
2247 loop_rrt->rrt_info.rip6_metric = HOPCNT_INFINITY6;
2391 rrt->rrt_info.rip6_metric = 1 + ifcp->ifc_metric;
2402 rrt->rrt_info.rip6_metric != orrt->rrt_info.rip6_metric) {
2734 np->rip6_metric = rtm->rtm_rmx.rmx_hopcount;
2735 if (np->rip6_metric < 1)
2736 np->rip6_metric = 1;
2749 if (orrt && orrt->rrt_info.rip6_metric != HOPCNT_INFINITY6) {
2801 if (orrt && orrt->rrt_info.rip6_metric == HOPCNT_INFINITY6) {
2830 np->rip6_metric - 1, buf2);
2834 np->rip6_metric - 1, buf2);
2847 rtm->rtm_rmx.rmx_hopcount = np->rip6_metric - 1;
3143 rrt->rrt_info.rip6_metric, (long)age);
3252 rrt->rrt_info.rip6_metric = 1;