summaryrefslogtreecommitdiffstats
path: root/proto/ospf/rt.h
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-04-30 11:32:41 +0200
committerOndrej Filip <feela@network.cz>2000-04-30 11:32:41 +0200
commite80e9d0da5d737b7f6e65358067f62a6ac85f4fe (patch)
tree508344b964262797e686bb362ade00248dcd6be7 /proto/ospf/rt.h
parent8c62d6e3b631d58f46d87c36826cb29f8dadeb15 (diff)
downloadbird-e80e9d0da5d737b7f6e65358067f62a6ac85f4fe.tar
bird-e80e9d0da5d737b7f6e65358067f62a6ac85f4fe.zip
RT calculation strongly simplified. Now, I don't need any
memory allocation. :-)
Diffstat (limited to 'proto/ospf/rt.h')
-rw-r--r--proto/ospf/rt.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/proto/ospf/rt.h b/proto/ospf/rt.h
index fd827b0..eb8c43c 100644
--- a/proto/ospf/rt.h
+++ b/proto/ospf/rt.h
@@ -12,10 +12,7 @@
void ospf_rt_spfa(struct ospf_area *oa, struct proto *p);
void add_cand(list *l, struct top_hash_entry *en, struct top_hash_entry *par,
- u16 dist, slab *s, slab *sll);
-list *calc_next_hop(struct top_hash_entry *par, slab *sl, slab *sll);
-list *multi_next_hop(struct top_hash_entry *par, struct top_hash_entry *en,
- slab *sl, slab *sll);
-
+ u16 dist);
+struct top_hash_entry *calc_next_hop(struct top_hash_entry *par);
#endif /* _BIRD_OSPF_RT_H_ */