Lines Matching refs:metric
92 u_char metric;
108 rinfo->metric += mod->metric;
110 rinfo->metric -= mod->metric;
112 rinfo->metric = mod->metric;
114 if (rinfo->metric < 1)
115 rinfo->metric = 1;
116 if (rinfo->metric > RIPNG_METRIC_INFINITY)
117 rinfo->metric = RIPNG_METRIC_INFINITY;
130 long metric;
159 metric = strtol (pnt, &endptr, 10);
161 if (metric == LONG_MAX || *endptr != '\0')
163 if (metric < 0 || metric > RIPNG_METRIC_INFINITY)
169 mod->metric = metric;
182 "metric",
311 "set metric <0-4294967295>",
316 return ripng_route_set_add (vty, vty->index, "metric", argv[0]);
321 "no set metric <0-4294967295>",
327 return ripng_route_set_delete (vty, vty->index, "metric", argv[0]);