Lines Matching defs:metric
99 * Default poor-man's router discovery to a metric that will
101 * routes with metric 15.
178 int metric, n, lnum;
221 /* {net | host} XX[/M] XX gateway XX metric DD [passive | external]\n */
225 " %64[^ / \t] metric %u %8s\n",
226 net_host, dname, gname, &metric, qual);
232 if (metric >= HOPCNT_INFINITY) {
233 msglog("bad metric in "_PATH_GATEWAYS" entry \"%s\"",
277 if (metric == 0)
278 metric = 1;
288 if (metric == 0)
289 metric = 1;
293 if (metric != 0) {
302 /* "remote" entries with a metric of 0
343 ifp->int_metric = metric;
600 /* "subnet=x.y.z.u/mask[,metric]" must be alone on the line */
923 " discovery or fake default metric");
930 "metric adjustments");
937 "metric adjustments");