From 9c9059fd172dcc2f8805529de4b3174f280c109c Mon Sep 17 00:00:00 2001 From: Maria Matejka Date: Wed, 22 Jun 2022 12:45:42 +0200 Subject: [PATCH] Allowed optimized exporting of a subprefix tree Added an option for export filter to allow for prefiltering based on the prefix. Routes outside the given prefix are completely ignored. Config is simple: export in ; --- doc/bird.sgml | 8 ++-- nest/config.Y | 6 +++ nest/proto.c | 8 +++- nest/protocol.h | 2 + nest/rt-table.c | 89 +++++++++++++++++++++++++++++++++++++-------- nest/rt.h | 3 ++ proto/pipe/config.Y | 6 +++ proto/pipe/pipe.c | 8 ++++ proto/pipe/pipe.h | 1 + 9 files changed, 111 insertions(+), 20 deletions(-) diff --git a/doc/bird.sgml b/doc/bird.sgml index d17de23fe..c9ce670b7 100644 --- a/doc/bird.sgml +++ b/doc/bird.sgml @@ -914,10 +914,12 @@ inherited from templates can be updated by new definitions.