Home
last modified time | relevance | path

Searched refs:int_metric (Results 1 – 7 of 7) sorted by relevance

/freebsd/sbin/routed/
H A Dif.c871 ifs.int_metric = 0; in ifinit()
873 ifs.int_metric = ifr.ifr_metric; in ifinit()
876 ifs.int_metric = ifam->ifam_metric; in ifinit()
878 if (ifs.int_metric > HOPCNT_INFINITY) { in ifinit()
879 ifs.int_metric = 0; in ifinit()
884 ifs.int_name, ifs.int_metric); in ifinit()
910 || ifp->int_metric != ifs.int_metric) { in ifinit()
1207 || rt->rt_metric > ifp->int_metric) { in ifinit()
1266 || rt->rt_metric > ifp->int_metric)) { in check_net_syn()
1274 new.rts_metric = ifp->int_metric; in check_net_syn()
[all …]
H A Dinput.c343 +aifp->int_metric in input()
418 j += (aifp->int_metric in input()
676 n->n_metric += (aifp->int_metric in input()
H A Drdisc.c90 #define PREF(p, ifp) ((int)(p) <= ((ifp)->int_metric+(ifp)->int_adj_outmetric)\
92 : (p) - ((ifp)->int_metric+(ifp)->int_adj_outmetric))
H A Dtrace.c630 if (ifp->int_metric != 0) in trace_if()
631 (void)fprintf(ftrace, "metric=%d ", ifp->int_metric); in trace_if()
H A Ddefs.h260 char int_metric; member
H A Doutput.c697 ws.metric = ifp->int_metric + 1 + ifp->int_adj_outmetric; in supply()
H A Dparms.c330 ifp->int_metric = metric; in gwkludge()