1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Calculation of external routes.

This commit is contained in:
Ondrej Filip
2000-05-10 10:47:17 +00:00
parent 4bfe4e8551
commit aa1e082c67
4 changed files with 193 additions and 4 deletions

View File

@@ -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_ */