Lines Matching defs:lsa
117 struct ospf6_lsa *lsa;
119 lsa = ospf6_lsdb_lookup_lsdb (htons (OSPF6_LSA_TYPE_AS_EXTERNAL),
122 if (lsa)
123 ospf6_lsa_premature_aging (lsa);
127 ospf6_asbr_external_lsa_add (struct ospf6_lsa *lsa)
134 external = OSPF6_LSA_HEADER_END (lsa->header);
136 if (IS_LSA_MAXAGE (lsa))
140 zlog_info ("ASBR: Calculate %s", lsa->str);
142 if (lsa->header->adv_router == ospf6->router_id)
159 asbr_id.adv_router.s_addr = lsa->header->adv_router;
184 request.path.origin.id = lsa->header->id;
185 request.path.origin.adv_router = lsa->header->adv_router;
215 ospf6_asbr_external_lsa_remove (struct ospf6_lsa *lsa)
223 zlog_info ("ASBR: Withdraw route of %s", lsa->str);
225 if (lsa->header->adv_router == ospf6->router_id)
232 external = OSPF6_LSA_HEADER_END (lsa->header);
250 while (request.path.origin.id != lsa->header->id ||
251 request.path.origin.adv_router != lsa->header->adv_router)
260 assert (request.path.origin.id == lsa->header->id);
263 while (request.path.origin.id == lsa->header->id &&
264 request.path.origin.adv_router == lsa->header->adv_router &&
320 ospf6_asbr_external_lsa_add (node.lsa);
367 ospf6_asbr_external_show (struct vty *vty, struct ospf6_lsa *lsa)
373 assert (lsa->header);
374 external = (struct ospf6_lsa_as_external *)(lsa->header + 1);
416 struct ospf6_lsa *lsa = old;
426 if (route.path.origin.id == lsa->header->id)
436 ospf6_lsa_premature_aging (lsa);