Statistics
| Branch: | Revision:

iof-bird-daemon / proto / ospf / rt.h @ fafe44b6

History | View | Annotate | Download (673 Bytes)

1
/*
2
 *      BIRD -- OSPF
3
 *
4
 *      (c) 2000 Ondrej Filip <feela@network.cz>
5
 *
6
 *      Can be freely distributed and used under the terms of the GNU GPL.
7
 *
8
 */
9

    
10
#ifndef _BIRD_OSPF_RT_H_
11
#define _BIRD_OSPF_RT_H_
12

    
13
struct infib {
14
  struct fib_node fn;
15
  u16 metric;
16
  u16 pad;
17
  struct top_hash_entry *en;
18
};
19

    
20
void ospf_rt_spfa(struct ospf_area *oa);
21
void ospf_ext_spfa(struct proto_ospf *po);
22
void add_cand(list *l, struct top_hash_entry *en, struct top_hash_entry *par,
23
  u16 dist, struct ospf_area *oa);
24
void calc_next_hop(struct top_hash_entry *par, struct top_hash_entry *en,
25
  struct ospf_area *oa);
26
void init_infib(struct fib_node *fn);
27

    
28
#endif /* _BIRD_OSPF_RT_H_ */