]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Hash table structure redesigned.
authorOndrej Filip <feela@network.cz>
Tue, 8 Feb 2000 22:43:10 +0000 (22:43 +0000)
committerOndrej Filip <feela@network.cz>
Tue, 8 Feb 2000 22:43:10 +0000 (22:43 +0000)
proto/ospf/topology.h

index 505f5bc7e59c6eb07816ee43ee4498f9804caf67..ea499e052cd739c9c5bb2dad1c139c2fa1f94169 100644 (file)
@@ -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 */