summaryrefslogtreecommitdiffstats
path: root/proto/ospf/topology.h
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-06-08 01:48:33 +0200
committerOndrej Filip <feela@network.cz>2000-06-08 01:48:33 +0200
commit17e29574bcf0e03e3243a48e784b0248925cc5b4 (patch)
tree5bb4b726c262dbffacd7bcf4134523002b3c1060 /proto/ospf/topology.h
parent25a3f3da7a2312e5ae21ada2aeccc412e2d1d867 (diff)
downloadbird-17e29574bcf0e03e3243a48e784b0248925cc5b4.tar
bird-17e29574bcf0e03e3243a48e784b0248925cc5b4.zip
Better algoritmus of LSA aging.
Diffstat (limited to 'proto/ospf/topology.h')
-rw-r--r--proto/ospf/topology.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/proto/ospf/topology.h b/proto/ospf/topology.h
index 3a47508..ca3096e 100644
--- a/proto/ospf/topology.h
+++ b/proto/ospf/topology.h
@@ -19,11 +19,13 @@ struct top_hash_entry { /* Index for fast mapping (type,rtrid,LSid)->vertex */
ip_addr nh; /* Next hop */
struct iface *nhi;
u16 dist; /* Distance from the root */
+ u16 ini_age;
u8 color;
#define OUTSPF 0
#define CANDIDATE 1
#define INSPF 2
u8 padding;
+ u16 padding2;
};
struct top_graph {