diff options
author | Ondrej Filip <feela@network.cz> | 2000-04-04 00:32:17 +0000 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2000-04-04 00:32:17 +0000 |
commit | 921a93f2176723d235989efe882050c0265bea84 (patch) | |
tree | 0335dfb3757725adfd897bdf12cd5b1578423514 /proto/ospf/topology.h | |
parent | 8496b2e41a81f8281da0e0c3e4bbb72a57d3bf21 (diff) |
Flooding work continues.
Diffstat (limited to 'proto/ospf/topology.h')
-rw-r--r-- | proto/ospf/topology.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/proto/ospf/topology.h b/proto/ospf/topology.h index 9ebd0ed7..d0e9ad9b 100644 --- a/proto/ospf/topology.h +++ b/proto/ospf/topology.h @@ -14,6 +14,7 @@ struct top_hash_entry { /* Index for fast mapping (type,rtrid,LSid)->vertex */ struct top_hash_entry *next; /* Next in hash chain */ struct ospf_lsa_header lsa; void *lsa_body; + bird_clock_t inst_t; /* Time of installation into DB */ }; struct top_graph { @@ -30,6 +31,7 @@ struct top_graph { struct top_graph *ospf_top_new(struct proto_ospf *); void ospf_top_free(struct top_graph *); void ospf_top_dump(struct top_graph *); +struct top_hash_entry *ospf_hash_find_header(struct top_graph *f, struct ospf_lsa_header *h); struct top_hash_entry *ospf_hash_find(struct top_graph *, u32 lsa, u32 rtr, u32 type); struct top_hash_entry *ospf_hash_get(struct top_graph *, u32 lsa, u32 rtr, u32 type); void ospf_hash_delete(struct top_graph *, struct top_hash_entry *); |