summaryrefslogtreecommitdiff
path: root/proto
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-02-08 22:13:12 +0000
committerOndrej Filip <feela@network.cz>2000-02-08 22:13:12 +0000
commit316d7bd7d16ea7ea26831bb7100dd0ac3c63084e (patch)
treec544589343028283dbfaad7768e01d0f3e01e8fa /proto
parentd3cb698053e14b3d35750d92389c34b71503bfc6 (diff)
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 22b82138..505f5bc7 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 */