diff options
author | Maria Matejka <mq@ucw.cz> | 2022-09-05 12:55:36 +0200 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2022-09-05 12:55:36 +0200 |
commit | 28accd4f05e9c153d702736f3e08fa66e81a5536 (patch) | |
tree | 64d27e2290aaed8ac5d0195ec7489e48b4d2c4b2 /nest/rt.h | |
parent | 636bc44e61b5361b675ddd1ad7edb0b5ff2c2f2f (diff) |
Next hop update triggered at the very end of hostcache update
Diffstat (limited to 'nest/rt.h')
-rw-r--r-- | nest/rt.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -91,6 +91,8 @@ struct rt_table_exporter { u64 next_seq; /* The next export will have this ID */ }; +extern uint rtable_max_id; + typedef struct rtable { resource r; node n; /* Node in list of all tables */ @@ -100,6 +102,7 @@ typedef struct rtable { struct f_trie *trie; /* Trie of prefixes defined in fib */ char *name; /* Name of this table */ uint addr_type; /* Type of address data stored in table (NET_*) */ + uint id; /* Integer table ID for fast lookup */ int use_count; /* Number of protocols using this table */ u32 rt_count; /* Number of routes in the table */ |