• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/zebra/ospf6d/

Lines Matching defs:lsa

31 ospf6_intra_route_calculate (int type, struct ospf6_lsa *lsa,
40 intra_prefix = OSPF6_LSA_HEADER_END (lsa->header);
42 area = lsa->scope;
46 end = (char *) lsa->header + ntohs (lsa->header->length);
60 request.path.origin.type = lsa->header->type;
61 request.path.origin.id = lsa->header->id;
62 request.path.origin.adv_router = lsa->header->adv_router;
85 struct ospf6_lsa *lsa = data;
91 if (lsa->header->type != htons (OSPF6_LSA_TYPE_INTRA_PREFIX))
94 area = (struct ospf6_area *) lsa->scope;
98 zlog_info ("INTRA: area %s remove: %s", area->str, lsa->str);
100 iap = OSPF6_LSA_HEADER_END (lsa->header);
110 (u_long) ntohl (iap->refer_lsid), lsa->str);
121 ospf6_intra_route_calculate (REMOVE, lsa, &topo_entry);
130 struct ospf6_lsa *lsa = data;
136 if (lsa->header->type != htons (OSPF6_LSA_TYPE_INTRA_PREFIX))
139 area = (struct ospf6_area *) lsa->scope;
142 if (IS_LSA_MAXAGE (lsa))
144 ospf6_intra_prefix_database_hook_remove (lsa);
149 zlog_info ("INTRA: area %s add: %s", area->str, lsa->str);
151 iap = OSPF6_LSA_HEADER_END (lsa->header);
162 (u_long) ntohl (iap->refer_lsid), lsa->str);
173 ospf6_intra_route_calculate (ADD, lsa, &topo_entry);
203 node.lsa->str, node.lsa);
205 if (IS_LSA_MAXAGE (node.lsa))
208 iap = OSPF6_LSA_HEADER_END (node.lsa->header);
214 (u_long) ntohl (iap->refer_lsid), node.lsa->str);
222 ospf6_intra_route_calculate (ADD, node.lsa, topo_entry);
248 if (IS_LSA_MAXAGE (node.lsa))
251 iap = OSPF6_LSA_HEADER_END (node.lsa->header);
256 (u_long) ntohl (iap->refer_lsid), node.lsa->str);
263 ospf6_intra_route_calculate (REMOVE, node.lsa, topo_entry);
325 ospf6_lsa_intra_prefix_show (struct vty *vty, struct ospf6_lsa *lsa)
334 assert (lsa->header);
335 iap_lsa = (struct ospf6_intra_area_prefix_lsa *) (lsa->header + 1);
349 start = (char *) lsa->header + sizeof (struct ospf6_lsa_header)
351 end = (char *) lsa->header + ntohs (lsa->header->length);
453 if (IS_LSA_MAXAGE (n.lsa))
458 n.lsa->str);
461 if (n.lsa->header->adv_router != o6i->area->ospf6->router_id)
463 o6n = ospf6_neighbor_lookup (n.lsa->header->adv_router, o6i);
481 link = (struct ospf6_link_lsa *) (n.lsa->header + 1);
488 end = (char *) (n.lsa->header) + ntohs (n.lsa->header->length);
785 struct ospf6_lsa *lsa = new;
788 if (lsa->header->type != htons (OSPF6_LSA_TYPE_LINK))
791 o6i = lsa->scope;
803 struct ospf6_lsa *lsa = old;
808 id = ntohl (lsa->header->id);
815 ospf6_lsa_premature_aging (lsa);
819 o6a = lsa->scope;