Lines Matching refs:metric
95 * Default poor-man's router discovery to a metric that will
97 * routes with metric 15.
174 int metric, n, lnum;
217 /* {net | host} XX[/M] XX gateway XX metric DD [passive | external]\n */
221 " %64[^ / \t] metric %u %8s\n",
222 net_host, dname, gname, &metric, qual);
228 if (metric >= HOPCNT_INFINITY) {
229 msglog("bad metric in "_PATH_GATEWAYS" entry \"%s\"",
274 if (metric == 0)
275 metric = 1;
285 if (metric == 0)
286 metric = 1;
290 if (metric != 0) {
299 /* "remote" entries with a metric of 0
340 ifp->int_metric = metric;
579 /* "subnet=x.y.z.u/mask[,metric]" must be alone on the line */
899 " discovery or fake default metric");
906 "metric adjustments");
913 "metric adjustments");