Lines Matching defs:metric
240 struct ospf_route *asbr_route, u_int32_t metric)
258 new->cost = asbr_route->cost + metric; /* X + Y */
265 new->u.ext.type2_cost = metric; /* Y */
284 u_int32_t metric;
313 if ((metric = GET_METRIC (al->e[0].metric)) >= OSPF_LS_INFINITY)
412 metric, and Y is a type 1 or 2 external metric. */
419 If the external metric type is 1, then the path-type is set
421 external metric type is 2, the path-type is set to type 2
424 new = ospf_ase_calculate_new_route (lsa, asbr_route, metric);
472 metric are always preferred. */
487 address and the advertised type 1 metric (X+Y). Type 2