summaryrefslogtreecommitdiffstats
path: root/proto
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-02-08 23:13:12 +0100
committerOndrej Filip <feela@network.cz>2000-02-08 23:13:12 +0100
commit316d7bd7d16ea7ea26831bb7100dd0ac3c63084e (patch)
treec544589343028283dbfaad7768e01d0f3e01e8fa /proto
parentd3cb698053e14b3d35750d92389c34b71503bfc6 (diff)
downloadbird-316d7bd7d16ea7ea26831bb7100dd0ac3c63084e.tar
bird-316d7bd7d16ea7ea26831bb7100dd0ac3c63084e.zip
Other LS struct added.
Diffstat (limited to 'proto')
-rw-r--r--proto/ospf/topology.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/proto/ospf/topology.h b/proto/ospf/topology.h
index 22b8213..505f5bc 100644
--- a/proto/ospf/topology.h
+++ b/proto/ospf/topology.h
@@ -18,6 +18,14 @@ struct top_hash_entry { /* Index for fast mapping (type,rtrid,LSid)->vertex */
u8 pad2;
};
+struct top_vertex { /* LSA without type,rtid and lsid */
+ u16 lsage;
+ u8 options;
+ u32 lsseqno;
+ void *data;
+};
+
+
struct top_graph {
pool *pool; /* Pool we allocate from */
slab *hash_slab; /* Slab for hash entries */