1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

RT calculation strongly simplified. Now, I don't need any

memory allocation. :-)
This commit is contained in:
Ondrej Filip
2000-04-30 09:32:41 +00:00
parent 8c62d6e3b6
commit e80e9d0da5
4 changed files with 41 additions and 111 deletions

View File

@@ -11,11 +11,12 @@
struct top_hash_entry { /* Index for fast mapping (type,rtrid,LSid)->vertex */
snode n;
node cn;
struct top_hash_entry *next; /* Next in hash chain */
struct ospf_lsa_header lsa;
void *lsa_body;
bird_clock_t inst_t; /* Time of installation into DB */
list *nh; /* List of next hops */
struct top_hash_entry *nh; /* Next hop */
u16 dist; /* Distance from the root */
u8 color;
#define OUTSPF 0