diff options
author | Maria Matejka <mq@ucw.cz> | 2022-09-07 20:26:20 +0200 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2022-09-08 15:13:38 +0200 |
commit | a42877b9bf09c4c042bced3910ade9b71ce3724c (patch) | |
tree | 47fa532f53efa1cc7adc73525c94131538dcf07c /nest/rt.h | |
parent | 5103de4e8ed7f4744326129a4296cf3511b1e1f9 (diff) |
Table feed refactoring to allow for locking and unlocking
Diffstat (limited to 'nest/rt.h')
-rw-r--r-- | nest/rt.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -300,6 +300,11 @@ struct rt_table_export_hook { struct { struct f_trie_walk_state *walk_state; /* Iterator over networks in trie */ struct f_trie *walk_lock; /* Locked trie for walking */ + union { /* Last net visited but not processed */ + net_addr walk_last; + net_addr_ip4 walk_last_ip4; + net_addr_ip6 walk_last_ip6; + }; }; }; |