Lines Matching full:metric
85 * Default poor-man's router discovery to a metric that will in get_parms()
87 * routes with metric 15. in get_parms()
164 int metric, n, lnum; in gwkludge() local
207 /* {net | host} XX[/M] XX gateway XX metric DD [passive | external]\n */ in gwkludge()
211 " %64[^ / \t] metric %u %8s\n", in gwkludge()
212 net_host, dname, gname, &metric, qual); in gwkludge()
218 if (metric >= HOPCNT_INFINITY) { in gwkludge()
219 msglog("bad metric in "_PATH_GATEWAYS" entry \"%s\"", in gwkludge()
264 if (metric == 0) in gwkludge()
265 metric = 1; in gwkludge()
275 if (metric == 0) in gwkludge()
276 metric = 1; in gwkludge()
280 if (metric != 0) { in gwkludge()
289 /* "remote" entries with a metric of 0 in gwkludge()
330 ifp->int_metric = metric; in gwkludge()
569 /* "subnet=x.y.z.u/mask[,metric]" must be alone on the line */ in parse_parms()
895 " discovery or fake default metric"); in check_parms()
902 "metric adjustments"); in check_parms()
909 "metric adjustments"); in check_parms()