Lines Matching refs:n_metric
336 n->n_metric = ntohl(n->n_metric);
346 n->n_metric == HOPCNT_INFINITY) {
397 v12buf.n->n_metric = htonl(metric);
438 v12buf.n->n_metric = HOPCNT_INFINITY;
461 v12buf.n->n_metric = HOPCNT_INFINITY;
469 v12buf.n->n_metric = rt->rt_metric + 1;
470 if (v12buf.n->n_metric > HOPCNT_INFINITY)
471 v12buf.n->n_metric = HOPCNT_INFINITY;
481 v12buf.n->n_metric = htonl(v12buf.n->n_metric);
766 n->n_metric = ntohl(n->n_metric);
785 if (n->n_metric == 0 || n->n_metric > HOPCNT_INFINITY) {
789 n->n_metric, naddr_ntoa(FROM_NADDR),
850 n->n_metric += ifp->int_metric;
851 if (n->n_metric > HOPCNT_INFINITY)
852 n->n_metric = HOPCNT_INFINITY;
878 n->n_metric >= ifp->int_d_metric)
940 new.rts_metric = n->n_metric;
983 n->n_metric = ntohl(n->n_metric);
1003 v12buf.n->n_metric = HOPCNT_INFINITY;
1022 v12buf.n->n_metric = HOPCNT_INFINITY;
1031 v12buf.n->n_metric = rt->rt_metric + 1;
1032 if (v12buf.n->n_metric > HOPCNT_INFINITY)
1033 v12buf.n->n_metric = HOPCNT_INFINITY;
1042 v12buf.n->n_metric = htonl(v12buf.n->n_metric);