summaryrefslogtreecommitdiff
path: root/bgpd/bgp_errors.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2021-04-22 11:04:52 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2022-05-19 12:14:40 +0200
commitbd9fb6f368049bd5f1f6a2b7bc97fbd51c9300cc (patch)
treef172dc19ee071f21387bc212197d4913b99a881a /bgpd/bgp_errors.h
parent18028bdb9b5d0e5cd6081d8df387551c206ce7ab (diff)
bgpd: implement SendHoldTimer
As described by https://www.ietf.org/archive/id/draft-spaghetti-idr-bgp-sendholdtimer-04.html Since this replicates the HoldTime check on the receiver that is already part of the protocol, I do not believe it necessary to wait for IETF progress on this draft. It's just replicating an existing element of the protocol at the other side of the session. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'bgpd/bgp_errors.h')
-rw-r--r--bgpd/bgp_errors.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/bgpd/bgp_errors.h b/bgpd/bgp_errors.h
index 0b71af3fc6..0c0917c49e 100644
--- a/bgpd/bgp_errors.h
+++ b/bgpd/bgp_errors.h
@@ -102,6 +102,8 @@ enum bgp_log_refs {
EC_BGP_INVALID_BGP_INSTANCE,
EC_BGP_INVALID_ROUTE,
EC_BGP_NO_LL_ADDRESS_AVAILABLE,
+ EC_BGP_SENDQ_STUCK_WARN,
+ EC_BGP_SENDQ_STUCK_PROPER,
};
extern void bgp_error_init(void);