mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
Table feed refactoring to allow for locking and unlocking
This commit is contained in:
@@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user