From dfa9a53a66e5747ddbeedfa0a47fa2ca9fc93b99 Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Wed, 26 Apr 2000 12:54:23 +0000 Subject: Routing table calculation. Dijkstra done. --- proto/ospf/topology.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'proto/ospf/topology.h') 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 { -- cgit v1.2.3