From 17fab002a1c0c946d035802665a77e2983f534a7 Mon Sep 17 00:00:00 2001 From: Igor Putovny Date: Thu, 16 May 2024 13:50:08 +0200 Subject: [PATCH] Backport settle timer from v3 --- conf/confbase.Y | 3 +++ lib/birdlib.h | 3 +++ lib/settle.h | 64 +++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 70 insertions(+) create mode 100644 lib/settle.h diff --git a/conf/confbase.Y b/conf/confbase.Y index 1d5738ff0..e81ac2843 100644 --- a/conf/confbase.Y +++ b/conf/confbase.Y @@ -22,6 +22,7 @@ CF_HDR #include "nest/bfd.h" #include "nest/cli.h" #include "filter/filter.h" +#include "lib/settle.h" /* FIXME: Turn on YYERROR_VERBOSE and work around lots of bison bugs? */ @@ -92,6 +93,7 @@ CF_DECLS struct proto_spec ps; struct channel_limit cl; struct timeformat *tf; + struct settle_config settle; mpls_label_stack *mls; struct bytestring *bs; } @@ -110,6 +112,7 @@ CF_DECLS %type expr bool pxlen4 %type