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.c | |
parent | 8496b2e41a81f8281da0e0c3e4bbb72a57d3bf21 (diff) |
Flooding work continues.
Diffstat (limited to 'proto/ospf/topology.c')
-rw-r--r-- | proto/ospf/topology.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/proto/ospf/topology.c b/proto/ospf/topology.c index e4982c27..e166b4ad 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)]; |