summaryrefslogtreecommitdiffstats
path: root/proto/ospf/topology.h
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-04-26 14:54:23 +0200
committerOndrej Filip <feela@network.cz>2000-04-26 14:54:23 +0200
commitdfa9a53a66e5747ddbeedfa0a47fa2ca9fc93b99 (patch)
treebee849b2e5b275c64721f6a6bb541ce8e0d80619 /proto/ospf/topology.h
parent0cadd5f531a82578ea6323f730cf8204b755895f (diff)
downloadbird-dfa9a53a66e5747ddbeedfa0a47fa2ca9fc93b99.tar
bird-dfa9a53a66e5747ddbeedfa0a47fa2ca9fc93b99.zip
Routing table calculation. Dijkstra done.
Diffstat (limited to 'proto/ospf/topology.h')
-rw-r--r--proto/ospf/topology.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/proto/ospf/topology.h b/proto/ospf/topology.h
index e146c6f..032a977 100644
--- a/proto/ospf/topology.h
+++ b/proto/ospf/topology.h
@@ -15,6 +15,13 @@ struct top_hash_entry { /* Index for fast mapping (type,rtrid,LSid)->vertex */
struct ospf_lsa_header lsa;
void *lsa_body;
bird_clock_t inst_t; /* Time of installation into DB */
+ list nh; /* List of next hops */
+ u16 dist; /* Distance from the root */
+ u8 color;
+#define OUTSPF 0
+#define CANDIDATE 1
+#define INSPF 2
+ u8 padding;
};
struct top_graph {