summaryrefslogtreecommitdiffstats
path: root/proto/ospf/topology.h
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-03-08 13:50:28 +0100
committerOndrej Filip <feela@network.cz>2000-03-08 13:50:28 +0100
commit30147b89ff3a389ad40096505f3d1a5ba1705736 (patch)
treeb9acec9a51e54221c54de8061609689aa87c000f /proto/ospf/topology.h
parent839380d7ecd133531ead2403c6dbc74950dad13c (diff)
downloadbird-30147b89ff3a389ad40096505f3d1a5ba1705736.tar
bird-30147b89ff3a389ad40096505f3d1a5ba1705736.zip
Sending of DBDes. (Checksum and length calculation NOT done.)
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 e2021b0..6a1aad5 100644
--- a/proto/ospf/topology.h
+++ b/proto/ospf/topology.h
@@ -10,6 +10,7 @@
#define _BIRD_OSPF_TOPOLOGY_H_
struct top_hash_entry { /* Index for fast mapping (type,rtrid,LSid)->vertex */
+ snode n;
struct top_hash_entry *next; /* Next in hash chain */
struct top_vertex *vertex;
u32 lsa_id, rtr_id;
@@ -25,6 +26,7 @@ struct top_hash_entry { /* Index for fast mapping (type,rtrid,LSid)->vertex */
#define LSA_CHECKAGE 300 /* 5 minutes */
#define LSA_MAXAGEDIFF 900 /* 15 minutes */
u32 lsseqno;
+ u16 length, checksum;
#define LSA_INITSEQNO 0x80000001
#define LSA_MAXSEQNO 0x7fffffff
};