From 9680bf68e454c23ed58e18bc09b592ccd356515d Mon Sep 17 00:00:00 2001 From: Katerina Kubecova Date: Thu, 2 Nov 2023 14:33:00 +0100 Subject: [PATCH] Automatic ROA reloads on channel import This includes updating OSPF, Pipe and RIP to enable partial route reload directly from the protocols' internal tables. --- conf/confbase.Y | 1 + doc/bird.sgml | 8 +- nest/config.Y | 63 ++++++++- nest/proto.c | 310 +++++++++++++++++++++++++++++++++++++++--- nest/protocol.h | 23 +++- nest/rt.h | 34 ++--- proto/bgp/attrs.c | 1 + proto/bgp/bgp.c | 18 ++- proto/ospf/ospf.c | 11 +- proto/ospf/ospf.h | 1 + proto/ospf/rt.c | 16 ++- proto/pipe/pipe.c | 34 ++++- proto/pipe/pipe.h | 5 + proto/rip/rip.c | 30 +++- proto/rip/rip.h | 1 + proto/static/static.c | 30 +++- sysdep/unix/krt.c | 14 +- 17 files changed, 524 insertions(+), 76 deletions(-) diff --git a/conf/confbase.Y b/conf/confbase.Y index 8e5da9e3..c764f9e4 100644 --- a/conf/confbase.Y +++ b/conf/confbase.Y @@ -81,6 +81,7 @@ CF_DECLS const struct filter *f; struct f_tree *e; struct f_trie *trie; + const struct f_trie *const_trie; struct f_val v; struct password_item *p; struct rt_show_data *ra; diff --git a/doc/bird.sgml b/doc/bird.sgml index 0da616c7..e90e2409 100644 --- a/doc/bird.sgml +++ b/doc/bird.sgml @@ -979,7 +979,8 @@ inherited from templates can be updated by new definitions. or