Searched refs:rts_metric (Results 1 - 7 of 7) sorted by relevance

/freebsd-9.3-release/sbin/routed/
H A Dinput.c750 new.rts_metric = n->n_metric;
804 if (new->rts_metric == HOPCNT_INFINITY)
867 if (rts->rts_metric == HOPCNT_INFINITY
868 && new->rts_metric == HOPCNT_INFINITY)
878 if (new->rts_metric > rts->rts_metric)
887 && rts->rts_metric == new->rts_metric
895 if (new->rts_metric == HOPCNT_INFINITY) {
918 if (new->rts_metric >
[all...]
H A Ddefs.h204 char rts_metric; member in struct:rt_entry::rt_spare
218 #define rt_metric rt_spares[0].rts_metric
249 #define BETTER_LINK(rt,A,B) ((A)->rts_metric < HOPCNT_INFINITY \
251 && ((A)->rts_metric < (B)->rts_metric \
254 || ((A)->rts_metric == (B)->rts_metric \
258 && (A)->rts_metric == (B)->rts_metric)))
H A Dif.c1168 loop_rts.rts_metric = 0;
1176 loop_rts.rts_metric = 0;
1235 loop_rts.rts_metric = 0;
1242 loop_rts.rts_metric = 0;
1260 loop_rts.rts_metric = intnetp->intnet_metric-1;
1295 new.rts_metric = ifp->int_metric;
1343 new.rts_metric = ifp->int_metric;
H A Dtrace.c605 (void)fprintf(ftrace, "metric=%-2d ", rts->rts_metric);
669 && rts->rts_metric == new->rts_metric
697 -(new->rts_metric == rts->rts_metric),
780 if (rt->rt_metric == new->rts_metric
801 -(new->rts_metric == rt->rt_metric),
H A Dtable.c837 new.rts_metric = k->k_metric;
1712 rts->rts_metric = HOPCNT_INFINITY;
1759 if (rt->rt_metric != new->rts_metric) {
1764 if (new->rts_metric == HOPCNT_INFINITY) {
1841 if (swap.rts_metric == HOPCNT_INFINITY) {
1895 new.rts_metric = HOPCNT_INFINITY;
1989 if (rts->rts_metric < HOPCNT_INFINITY
2060 if (rts->rts_metric < HOPCNT_INFINITY
2083 new.rts_metric = HOPCNT_INFINITY;
H A Drdisc.c519 new.rts_metric = HOPCNT_INFINITY;
547 new.rts_metric = HOPCNT_INFINITY-1;
H A Doutput.c596 if (rts->rts_metric > metric

Completed in 178 milliseconds