summaryrefslogtreecommitdiff
path: root/nest/protocol.h
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2021-02-10 03:09:57 +0100
committerOndrej Zajicek (work) <santiago@crfreenet.org>2021-02-10 03:09:57 +0100
commit00b85905b9f5081eb2fce0ed79542085278e9f42 (patch)
tree964728bcef7dfb03136898a12e1ebbaccc13409c /nest/protocol.h
parentd06a875b042b608e61b2d5a2bb594641d3e1322f (diff)
Nest: Automatic channel reloads based on RPKI changes
If there are roa_check() calls in channel filters, then the channel subscribes to ROA table notifications, which are sent when ROA tables are updated (subject to settle time) and trigger channel reload or refeed.
Diffstat (limited to 'nest/protocol.h')
-rw-r--r--nest/protocol.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/nest/protocol.h b/nest/protocol.h
index d82e3983..17d10fcb 100644
--- a/nest/protocol.h
+++ b/nest/protocol.h
@@ -549,7 +549,12 @@ struct channel {
struct rte *reload_next_rte; /* Route iterator in in_table used during reloading */
u8 reload_active; /* Iterator reload_fit is linked */
+ u8 reload_pending; /* Reloading and another reload is scheduled */
+ u8 refeed_pending; /* Refeeding and another refeed is scheduled */
+
struct rtable *out_table; /* Internal table for exported routes */
+
+ list roa_subscriptions; /* List of active ROA table subscriptions based on filters roa_check() */
};