summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 */