Searched refs:rt_spares (Results 1 – 6 of 6) sorted by relevance
/freebsd/sbin/routed/ |
H A D | defs.h | 182 } rt_spares[NUM_SPARES]; member 188 #define rt_ifp rt_spares[0].rts_ifp 189 #define rt_gate rt_spares[0].rts_gate 190 #define rt_router rt_spares[0].rts_router 191 #define rt_metric rt_spares[0].rts_metric 192 #define rt_tag rt_spares[0].rts_tag 193 #define rt_time rt_spares[0].rts_time 194 #define rt_de_ag rt_spares[0].rts_de_ag
|
H A D | trace.c | 665 (int)(rts - rt->rt_spares), in trace_upslot() 668 (rts != rt->rt_spares in trace_upslot() 673 (int)(rts - rt->rt_spares), in trace_upslot() 678 rts != rt->rt_spares || AGE_RT(rt->rt_state, in trace_upslot() 690 && (rts != rt->rt_spares in trace_upslot() 695 (int)(rts - rt->rt_spares), in trace_upslot() 698 (rts != rt->rt_spares in trace_upslot() 780 print_rts(rt->rt_spares, in trace_change() 811 print_rts(rt->rt_spares, 0,0,0,0,AGE_RT(rt->rt_state,rt->rt_ifp)); in trace_add_del() 828 print_rts(&RT->rt_spares[0], 0,0,0,0, AGE_RT(RT->rt_state, RT->rt_ifp)); in walk_trace() [all …]
|
H A D | table.c | 1710 for (rts = rt->rt_spares, i = NUM_SPARES; i != 0; i--, rts++) in rtadd() 1728 rt->rt_spares[0] = *new; in rtadd() 1790 rt->rt_spares[0] = *new; in rtchange() 1803 rts = rt->rt_spares+1; in rts_better() 1834 if (!BETTER_LINK(rt, rts, rt->rt_spares)) in rtswitch() 1837 swap = rt->rt_spares[0]; in rtswitch() 1838 (void)sprintf(label, "Use #%d", (int)(rts - rt->rt_spares)); in rtswitch() 1893 new = rt->rt_spares[0]; in rtbad() 1960 struct rt_spare new = rt->rt_spares[0]; in rtbad_sub() 1985 rts = RT->rt_spares; in walk_bad() [all …]
|
H A D | input.c | 841 rts0 = rt->rt_spares; in input_route() 848 if (rts0 == rt->rt_spares in input_route()
|
H A D | output.c | 585 for (rts = RT->rt_spares, i = NUM_SPARES; i != 0; i--, rts++) { in walk_supply() 606 || RT->rt_spares[1].rts_gate == 0) { in walk_supply()
|
H A D | rdisc.c | 508 new = rt->rt_spares[0]; in rdisc_sort()
|