Searched refs:rt_metric (Results 1 - 10 of 10) sorted by relevance

/netbsd-6-1-5-RELEASE/usr.sbin/mrouted/
H A Droute.h32 u_char rt_metric; /* cost of route back to origin */ member in struct:rtentry
H A Droute.c121 if (r->rt_metric != UNREACHABLE &&
152 if (r->rt_metric != UNREACHABLE) {
156 r->rt_metric = UNREACHABLE;
188 if (r->rt_metric != UNREACHABLE) {
396 rtp->rt_metric = UNREACHABLE; /* temporary; updated below */
403 if (r->rt_metric == UNREACHABLE) {
417 r->rt_metric = adj_metric;
432 if (adj_metric == r->rt_metric)
439 else if (adj_metric < r->rt_metric) {
444 r->rt_metric
[all...]
H A Dprune.c2015 rt->rt_metric);
2189 if (rt->rt_metric >= UNREACHABLE) {
2204 if (((u_int)(rcount + 1) == no) || (rt == NULL) || (rt->rt_metric == 1)) {
H A Dsnmp.c965 long_return = rt->rt_metric;
/netbsd-6-1-5-RELEASE/sbin/routed/
H A Dinput.c334 j = (rt->rt_metric
406 j = rt->rt_metric+1;
H A Doutput.c533 metric = RT->rt_metric;
781 || rt->rt_metric+ws.metric >= def_metric) {
786 def_metric = rt->rt_metric+ws.metric;
H A Dtrace.c799 if (rt->rt_metric == new->rts_metric
820 -(new->rts_metric == rt->rt_metric),
862 && RT->rt_poison_metric < RT->rt_metric)
H A Ddefs.h236 #define rt_metric rt_spares[0].rts_metric macro
H A Dif.c1269 || rt->rt_metric > ifp->int_metric) {
1327 || rt->rt_metric > ifp->int_metric)) {
H A Dtable.c1486 metric = RT->rt_metric;
1779 if (rt->rt_metric != new->rts_metric) {

Completed in 123 milliseconds