summaryrefslogtreecommitdiffstats
path: root/proto
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-02-08 23:43:10 +0100
committerOndrej Filip <feela@network.cz>2000-02-08 23:43:10 +0100
commit4bf6de87379a3458b59275373b9e88611baabb88 (patch)
treed95ddfb76830ce0ab9d5d097d8fdd76554f5a429 /proto
parent316d7bd7d16ea7ea26831bb7100dd0ac3c63084e (diff)
downloadbird-4bf6de87379a3458b59275373b9e88611baabb88.tar
bird-4bf6de87379a3458b59275373b9e88611baabb88.zip
Hash table structure redesigned.
Diffstat (limited to 'proto')
-rw-r--r--proto/ospf/topology.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/proto/ospf/topology.h b/proto/ospf/topology.h
index 505f5bc..ea499e0 100644
--- a/proto/ospf/topology.h
+++ b/proto/ospf/topology.h
@@ -14,18 +14,11 @@ struct top_hash_entry { /* Index for fast mapping (type,rtrid,LSid)->vertex */
struct top_vertex *vertex;
u32 lsa_id, rtr_id;
u8 lsa_type;
- u16 pad1;
- u8 pad2;
-};
-
-struct top_vertex { /* LSA without type,rtid and lsid */
- u16 lsage;
u8 options;
+ u16 lsage;
u32 lsseqno;
- void *data;
};
-
struct top_graph {
pool *pool; /* Pool we allocate from */
slab *hash_slab; /* Slab for hash entries */