Searched refs:rts_metric (Results 1 – 7 of 7) sorted by relevance
177 char rts_metric; member191 #define rt_metric rt_spares[0].rts_metric222 #define BETTER_LINK(rt,A,B) ((A)->rts_metric < HOPCNT_INFINITY \224 && ((A)->rts_metric < (B)->rts_metric \227 || ((A)->rts_metric == (B)->rts_metric \231 && (A)->rts_metric == (B)->rts_metric)))
752 new.rts_metric = n->n_metric; in input()806 if (new->rts_metric == HOPCNT_INFINITY) in input_route()869 if (rts->rts_metric == HOPCNT_INFINITY in input_route()870 && new->rts_metric == HOPCNT_INFINITY) in input_route()880 if (new->rts_metric > rts->rts_metric) in input_route()889 && rts->rts_metric == new->rts_metric in input_route()897 if (new->rts_metric == HOPCNT_INFINITY) { in input_route()920 if (new->rts_metric >= rts->rts_metric) in input_route()
593 (void)fprintf(ftrace, "metric=%-2d ", rts->rts_metric); in print_rts()657 && rts->rts_metric == new->rts_metric in trace_upslot()685 -(new->rts_metric == rts->rts_metric), in trace_upslot()768 if (rt->rt_metric == new->rts_metric in trace_change()789 -(new->rts_metric == rt->rt_metric), in trace_change()
1146 loop_rts.rts_metric = 0; in ifinit()1154 loop_rts.rts_metric = 0; in ifinit()1213 loop_rts.rts_metric = 0; in ifinit()1220 loop_rts.rts_metric = 0; in ifinit()1239 loop_rts.rts_metric = intnetp->intnet_metric-1; in ifinit()1274 new.rts_metric = ifp->int_metric; in check_net_syn()1322 new.rts_metric = ifp->int_metric; in addrouteforif()
827 new.rts_metric = k->k_metric; in kern_check_static()1711 rts->rts_metric = HOPCNT_INFINITY; in rtadd()1758 if (rt->rt_metric != new->rts_metric) { in rtchange()1763 if (new->rts_metric == HOPCNT_INFINITY) { in rtchange()1840 if (swap.rts_metric == HOPCNT_INFINITY) { in rtswitch()1894 new.rts_metric = HOPCNT_INFINITY; in rtbad()1988 if (rts->rts_metric < HOPCNT_INFINITY in walk_bad()2059 if (rts->rts_metric < HOPCNT_INFINITY in walk_age()2082 new.rts_metric = HOPCNT_INFINITY; in walk_age()
509 new.rts_metric = HOPCNT_INFINITY; in rdisc_sort()537 new.rts_metric = HOPCNT_INFINITY-1; in rdisc_sort()
586 if (rts->rts_metric > metric in walk_supply()