diff options
Diffstat (limited to 'proto/ospf/rt.h')
-rw-r--r-- | proto/ospf/rt.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/proto/ospf/rt.h b/proto/ospf/rt.h index ba78e62..c236fce 100644 --- a/proto/ospf/rt.h +++ b/proto/ospf/rt.h @@ -10,7 +10,8 @@ #ifndef _BIRD_OSPF_RT_H_ #define _BIRD_OSPF_RT_H_ -struct infib { +struct infib +{ struct fib_node fn; u16 metric; u16 oldmetric; @@ -18,7 +19,8 @@ struct infib { struct top_hash_entry *olden; }; -struct extfib { +struct extfib +{ struct fib_node fn; u16 metric; u16 metric2; @@ -33,10 +35,10 @@ struct extfib { 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, - u16 dist, struct ospf_area *oa); +void add_cand(list * l, struct top_hash_entry *en, struct top_hash_entry *par, + u16 dist, struct ospf_area *oa); void calc_next_hop(struct top_hash_entry *par, struct top_hash_entry *en, - struct ospf_area *oa); + struct ospf_area *oa); void init_infib(struct fib_node *fn); void init_efib(struct fib_node *fn); |