• 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:ospf

72 ospf_ia_network_route (struct ospf *ospf, struct route_table *rt,
96 if ((res = ospf_route_cmp (ospf, new_or, or)) < 0)
129 ospf_ia_router_route (struct ospf *ospf, struct route_table *rtrs,
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)
201 struct ospf *ospf = area->ospf;
224 if (ospf_lsa_is_self_originated (area->ospf, lsa))
238 (range = ospf_area_range_match_any (ospf, &p)) &&
246 if (IS_OSPF_ABR(ospf) &&
247 ospf->abr_type != OSPF_ABR_STAND &&
275 ospf_ia_network_route (ospf, rt, &p, new_or, abr_or);
280 ospf_ia_router_route (ospf, rtrs, &p, new_or, abr_or);
307 ospf_update_network_route (struct ospf *ospf,
339 if (ospf->abr_type != OSPF_ABR_SHORTCUT)
376 if (ospf->abr_type == OSPF_ABR_SHORTCUT)
421 if ((ospf->abr_type == OSPF_ABR_SHORTCUT) &&
436 ospf_update_router_route (struct ospf *ospf,
465 if ((ospf->backbone == NULL) &&
466 (ospf->abr_type != OSPF_ABR_SHORTCUT))
470 if ((ospf->backbone == NULL)
471 || !(or = ospf_find_asbr_route_through_area (rtrs, p, ospf->backbone)))
473 if (ospf->abr_type != OSPF_ABR_SHORTCUT)
496 ospf_ia_router_route (ospf, rtrs, p, new_or, abr_or);
536 struct ospf *ospf = area->ospf;
565 if (ospf_lsa_is_self_originated (area->ospf, lsa))
583 ospf_update_network_route (ospf, rt, rtrs, sl, &p, area);
585 ospf_update_router_route (ospf, rtrs, sl, &p, area);
604 ospf_ia_routing (struct ospf *ospf,
613 if (IS_OSPF_ABR (ospf))
618 switch (ospf->abr_type)
624 if ((area = ospf->backbone))
636 for (ALL_LIST_ELEMENTS_RO (ospf->areas, node, area))
637 if (area != ospf->backbone)
649 area = ospf->backbone; /* Find the BB */
652 if (area && ospf_act_bb_connection (ospf))
662 for (ALL_LIST_ELEMENTS_RO (ospf->areas, node, area))
663 if (area != ospf->backbone)
672 for (ALL_LIST_ELEMENTS_RO (ospf->areas, node, area))
679 area = ospf->backbone; /* Find the BB */
682 if (area && ospf_act_bb_connection (ospf))
692 for (ALL_LIST_ELEMENTS_RO (ospf->areas, node, area))
693 if (area != ospf->backbone)
696 ((ospf->backbone == NULL) ||
712 for (ALL_LIST_ELEMENTS_RO (ospf->areas, node, area))