• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/quagga/ospfd/

Lines Matching refs:new_or

73 		       struct prefix_ipv4 *p, struct ospf_route *new_or,
96 if ((res = ospf_route_cmp (ospf, new_or, or)) < 0)
99 ospf_route_subst (rn1, new_or, abr_or);
109 ospf_route_free (new_or);
114 ospf_route_free (new_or);
124 ospf_route_add (rt, p, new_or, abr_or);
131 struct ospf_route *new_or, struct ospf_route *abr_or)
149 or_area = ospf_area_lookup_by_area_id (ospf, new_or->u.std.area_id);
162 if ((ret = ospf_route_cmp (ospf, new_or, or)) < 0)
175 ospf_route_free (new_or);
183 ospf_route_free (new_or);
188 ospf_route_copy_nexthops (new_or, abr_or->paths);
193 listnode_add (rn->info, new_or);
203 struct ospf_route *abr_or, *new_or;
263 new_or = ospf_route_new ();
264 new_or->type = OSPF_DESTINATION_NETWORK;
265 new_or->id = sl->header.id;
266 new_or->mask = sl->mask;
267 new_or->u.std.options = sl->header.options;
268 new_or->u.std.origin = (struct lsa_header *) sl;
269 new_or->cost = abr_or->cost + metric;
270 new_or->u.std.area_id = area->area_id;
271 new_or->u.std.external_routing = area->external_routing;
272 new_or->path_type = OSPF_PATH_INTER_AREA;
275 ospf_ia_network_route (ospf, rt, &p, new_or, abr_or);
278 new_or->type = OSPF_DESTINATION_ROUTER;
279 new_or->u.std.flags = ROUTER_LSA_EXTERNAL;
280 ospf_ia_router_route (ospf, rtrs, &p, new_or, abr_or);
315 struct ospf_route *or, *abr_or, *new_or;
345 new_or = ospf_route_new ();
346 new_or->type = OSPF_DESTINATION_NETWORK;
347 new_or->id = lsa->header.id;
348 new_or->mask = lsa->mask;
349 new_or->u.std.options = lsa->header.options;
350 new_or->u.std.origin = (struct lsa_header *) lsa;
351 new_or->cost = cost;
352 new_or->u.std.area_id = area->area_id;
353 new_or->u.std.external_routing = area->external_routing;
354 new_or->path_type = OSPF_PATH_INTER_AREA;
355 ospf_route_add (rt, p, new_or, abr_or);
442 struct ospf_route *or, *abr_or, *new_or;
485 new_or = ospf_route_new ();
486 new_or->type = OSPF_DESTINATION_ROUTER;
487 new_or->id = lsa->header.id;
488 new_or->mask = lsa->mask;
489 new_or->u.std.options = lsa->header.options;
490 new_or->u.std.origin = (struct lsa_header *)lsa;
491 new_or->cost = cost;
492 new_or->u.std.area_id = area->area_id;
493 new_or->u.std.external_routing = area->external_routing;
494 new_or->path_type = OSPF_PATH_INTER_AREA;
495 new_or->u.std.flags = ROUTER_LSA_EXTERNAL;
496 ospf_ia_router_route (ospf, rtrs, p, new_or, abr_or);