summaryrefslogtreecommitdiffstats
path: root/proto/ospf/topology.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-04-04 02:32:17 +0200
committerOndrej Filip <feela@network.cz>2000-04-04 02:32:17 +0200
commit921a93f2176723d235989efe882050c0265bea84 (patch)
tree0335dfb3757725adfd897bdf12cd5b1578423514 /proto/ospf/topology.c
parent8496b2e41a81f8281da0e0c3e4bbb72a57d3bf21 (diff)
downloadbird-921a93f2176723d235989efe882050c0265bea84.tar
bird-921a93f2176723d235989efe882050c0265bea84.zip
Flooding work continues.
Diffstat (limited to 'proto/ospf/topology.c')
-rw-r--r--proto/ospf/topology.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/proto/ospf/topology.c b/proto/ospf/topology.c
index e4982c2..e166b4a 100644
--- a/proto/ospf/topology.c
+++ b/proto/ospf/topology.c
@@ -292,6 +292,11 @@ ospf_top_rehash(struct top_graph *f, int step)
}
struct top_hash_entry *
+ospf_hash_find_header(struct top_graph *f, struct ospf_lsa_header *h)
+{
+ return ospf_hash_find(f,h->id,h->rt,h->type);
+}
+struct top_hash_entry *
ospf_hash_find(struct top_graph *f, u32 lsa, u32 rtr, u32 type)
{
struct top_hash_entry *e = f->hash_table[ospf_top_hash(f, lsa, rtr, type)];