diff options
Diffstat (limited to 'ospfd/ospf_lsdb.h')
-rw-r--r-- | ospfd/ospf_lsdb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ospfd/ospf_lsdb.h b/ospfd/ospf_lsdb.h index 8ae66a15..e192308c 100644 --- a/ospfd/ospf_lsdb.h +++ b/ospfd/ospf_lsdb.h @@ -69,6 +69,8 @@ void ospf_lsdb_cleanup (struct ospf_lsdb *); void ospf_lsdb_add (struct ospf_lsdb *, struct ospf_lsa *); void ospf_lsdb_delete (struct ospf_lsdb *, struct ospf_lsa *); void ospf_lsdb_delete_all (struct ospf_lsdb *); +/* Set all stats to -1 (LSA_SPF_NOT_EXPLORED). */ +void ospf_lsdb_clean_stat (struct ospf_lsdb *lsdb); struct ospf_lsa *ospf_lsdb_lookup (struct ospf_lsdb *, struct ospf_lsa *); struct ospf_lsa *ospf_lsdb_lookup_by_id (struct ospf_lsdb *, u_char, struct in_addr, struct in_addr); |