From 316d7bd7d16ea7ea26831bb7100dd0ac3c63084e Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Tue, 8 Feb 2000 22:13:12 +0000 Subject: Other LS struct added. --- proto/ospf/topology.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'proto') 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 */ -- cgit v1.2.3