summaryrefslogtreecommitdiff
path: root/proto/ospf/topology.h
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-04-30 09:32:41 +0000
committerOndrej Filip <feela@network.cz>2000-04-30 09:32:41 +0000
commite80e9d0da5d737b7f6e65358067f62a6ac85f4fe (patch)
tree508344b964262797e686bb362ade00248dcd6be7 /proto/ospf/topology.h
parent8c62d6e3b631d58f46d87c36826cb29f8dadeb15 (diff)
RT calculation strongly simplified. Now, I don't need any
memory allocation. :-)
Diffstat (limited to 'proto/ospf/topology.h')
-rw-r--r--proto/ospf/topology.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/proto/ospf/topology.h b/proto/ospf/topology.h
index e825de73..1c3e9ea5 100644
--- a/proto/ospf/topology.h
+++ b/proto/ospf/topology.h
@@ -11,11 +11,12 @@
struct top_hash_entry { /* Index for fast mapping (type,rtrid,LSid)->vertex */
snode n;
+ node cn;
struct top_hash_entry *next; /* Next in hash chain */
struct ospf_lsa_header lsa;
void *lsa_body;
bird_clock_t inst_t; /* Time of installation into DB */
- list *nh; /* List of next hops */
+ struct top_hash_entry *nh; /* Next hop */
u16 dist; /* Distance from the root */
u8 color;
#define OUTSPF 0