summaryrefslogtreecommitdiffstats
path: root/proto/ospf/rt.h
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-05-10 12:47:17 +0200
committerOndrej Filip <feela@network.cz>2000-05-10 12:47:17 +0200
commitaa1e082c6779505e9ca24ba9f9d6cdfd4c647b06 (patch)
treee6e30078d51345867346d3b343efd96059f061f4 /proto/ospf/rt.h
parent4bfe4e8551722533cc99c776b3b70818ef59bf24 (diff)
downloadbird-aa1e082c6779505e9ca24ba9f9d6cdfd4c647b06.tar
bird-aa1e082c6779505e9ca24ba9f9d6cdfd4c647b06.zip
Calculation of external routes.
Diffstat (limited to 'proto/ospf/rt.h')
-rw-r--r--proto/ospf/rt.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/proto/ospf/rt.h b/proto/ospf/rt.h
index 67eca4a..66c04df 100644
--- a/proto/ospf/rt.h
+++ b/proto/ospf/rt.h
@@ -17,6 +17,14 @@ struct infib {
struct top_hash_entry *en;
};
+struct extfib {
+ struct fib_node fn;
+ u16 metric;
+ u16 metric2;
+ ip_addr nh;
+ struct iface *nhi;
+};
+
void ospf_rt_spfa(struct ospf_area *oa);
void ospf_ext_spfa(struct proto_ospf *po);
void add_cand(list *l, struct top_hash_entry *en, struct top_hash_entry *par,
@@ -24,5 +32,6 @@ void add_cand(list *l, struct top_hash_entry *en, struct top_hash_entry *par,
void calc_next_hop(struct top_hash_entry *par, struct top_hash_entry *en,
struct ospf_area *oa);
void init_infib(struct fib_node *fn);
+void init_efib(struct fib_node *fn);
#endif /* _BIRD_OSPF_RT_H_ */