diff options
author | Ondrej Filip <feela@network.cz> | 2000-02-24 00:14:18 +0100 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2000-02-24 00:14:18 +0100 |
commit | 91808fffc22e37b6d558f22db911ad0a3277d694 (patch) | |
tree | 40124463507aec03faa4666f9fb5b7ff1b791b5c /proto/ospf | |
parent | 6fa948d6c5abd0620836f66c654354ce38936f3a (diff) | |
download | bird-91808fffc22e37b6d558f22db911ad0a3277d694.tar bird-91808fffc22e37b6d558f22db911ad0a3277d694.zip |
Structures for router LSA added.
Diffstat (limited to 'proto/ospf')
-rw-r--r-- | proto/ospf/topology.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/proto/ospf/topology.h b/proto/ospf/topology.h index ea499e0..f102851 100644 --- a/proto/ospf/topology.h +++ b/proto/ospf/topology.h @@ -37,5 +37,21 @@ struct top_hash_entry *ospf_hash_find(struct top_graph *, u32 lsa, u32 rtr, u32 struct top_hash_entry *ospf_hash_get(struct top_graph *, u32 lsa, u32 rtr, u32 type); void ospf_hash_delete(struct top_graph *, struct top_hash_entry *); +struct top_graph_rtlsa { + u8 Vbit; + u8 Ebit; + u8 Bbit; + int links; /* Number of links */ + struct top_graph_rtlsa_link *flink; +}; + +struct top_graph_rtlsa_link { /* FIXME Completely ignoring TOS */ + u32 id; + u32 data; + u8 type; + u16 metric; + struct top_graph_rtlsa_link *next; +}; + #endif /* _BIRD_OSPF_TOPOLOGY_H_ */ |