diff options
author | Maria Matejka <mq@ucw.cz> | 2022-09-09 19:09:31 +0200 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2022-09-09 19:09:31 +0200 |
commit | 3d627d09d4da3bdc1712bde67ba62c9cfbfcedc9 (patch) | |
tree | cfa4cdc06b393a764eb49c8d7294e42a90b896c7 /nest/rt.h | |
parent | 974f16b1f70ae8b7fa4efa6a217988e1811069e7 (diff) |
Table export announcer needs both an event and a timer to do export bundling the right way
Diffstat (limited to 'nest/rt.h')
-rw-r--r-- | nest/rt.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -85,7 +85,6 @@ struct rt_exporter { struct rt_table_exporter { struct rt_exporter e; list pending; /* List of packed struct rt_pending_export */ - struct timer *export_timer; struct rt_pending_export *first; /* First export to announce */ u64 next_seq; /* The next export will have this ID */ @@ -129,6 +128,8 @@ struct rtable_private { */ struct event *rt_event; /* Routing table event */ struct event *nhu_event; /* Specific event for next hop update */ + struct event *export_event; /* Event for export batching */ + struct timer *export_timer; /* Timer for export batching */ struct timer *prune_timer; /* Timer for periodic pruning / GC */ btime last_rt_change; /* Last time when route changed */ btime gc_time; /* Time of last GC */ |