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

Lines Matching refs:lsdb

48   struct ospf6_lsdb *lsdb;
50 lsdb = XCALLOC (MTYPE_OSPF6_LSDB, sizeof (struct ospf6_lsdb));
51 if (lsdb == NULL)
53 zlog_warn ("Can't malloc lsdb");
56 memset (lsdb, 0, sizeof (struct ospf6_lsdb));
58 lsdb->table = route_table_init ();
59 return lsdb;
63 ospf6_lsdb_delete (struct ospf6_lsdb *lsdb)
65 ospf6_lsdb_remove_all (lsdb);
66 route_table_finish (lsdb->table);
67 XFREE (MTYPE_OSPF6_LSDB, lsdb);
100 ospf6_lsdb_add (struct ospf6_lsa *lsa, struct ospf6_lsdb *lsdb)
112 rn = route_node_get (lsdb->table, (struct prefix *) &key);
121 lsdb->count++;
125 ospf6_lsdb_remove (struct ospf6_lsa *lsa, struct ospf6_lsdb *lsdb)
137 rn = route_node_lookup (lsdb->table, (struct prefix *) &key);
154 lsdb->count--;
160 struct ospf6_lsdb *lsdb)
171 rn = route_node_lookup (lsdb->table, (struct prefix *) &node->key);
184 struct ospf6_lsdb *lsdb)
187 ospf6_lsdb_lookup_node (&node, type, id, adv_router, lsdb);
193 ospf6_lsdb_head (struct ospf6_lsdb_node *node, struct ospf6_lsdb *lsdb)
199 rn = route_top (lsdb->table);
218 struct ospf6_lsdb *lsdb)
229 rn = route_node_get (lsdb->table, (struct prefix *) &node->key);
231 /* skip to the real existing lsdb entry */
249 struct ospf6_lsdb *lsdb)
260 rn = route_node_get (lsdb->table, (struct prefix *) &node->key);
262 /* skip to the real existing lsdb entry */
285 /* skip to the real existing lsdb entry */
316 return ospf6_lsdb_lookup_lsdb (type, id, adv_router, ospf6->lsdb);
323 return ospf6_lsdb_lookup_lsdb (type, id, adv_router, o6a->lsdb);
330 return ospf6_lsdb_lookup_lsdb (type, id, adv_router, o6i->lsdb);
341 struct ospf6_lsdb *lsdb;
355 lsdb = linklocal->lsdb;
359 lsdb = area->lsdb;
363 lsdb = as->lsdb;
372 new->header->adv_router, lsdb);
385 ospf6_lsdb_add (new, lsdb);
399 ospf6_lsdb_remove_all (struct ospf6_lsdb *lsdb)
402 for (ospf6_lsdb_head (&node, lsdb); ! ospf6_lsdb_is_end (&node);
404 ospf6_lsdb_remove (node.lsa, lsdb);
408 ospf6_lsdb_remove_maxage (struct ospf6_lsdb *lsdb)
413 for (ospf6_lsdb_head (&node, lsdb); ! ospf6_lsdb_is_end (&node);
429 ospf6_lsdb_remove (lsa, lsdb);
459 struct ospf6_lsdb *lsdb)
554 for (ospf6_lsdb_head (&node, lsdb); ! ospf6_lsdb_is_end (&node);
599 show_ipv6_ospf6_lsdb (vty, argc, argv, o6i->lsdb);
606 show_ipv6_ospf6_lsdb (vty, argc, argv, o6a->lsdb);
613 show_ipv6_ospf6_lsdb (vty, argc, argv, ospf6->lsdb);