summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_open.h
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2022-04-30 22:04:58 +0200
committerDonatas Abraitis <donatas@opensourcerouting.org>2022-05-02 08:43:40 +0200
commiteea685b6d30b03b0924c0773b1f3563d95ee621f (patch)
tree367eb007077f597d7fa6ac3e792444d64b44545a /bgpd/bgp_open.h
parentbgpd: Rename graceful restart constants for R-bit capabilities (diff)
downloadfrr-eea685b6d30b03b0924c0773b1f3563d95ee621f.tar.xz
frr-eea685b6d30b03b0924c0773b1f3563d95ee621f.zip
bgpd: Implement CEASE/Hard Reset notification
Also, add N-Bit (Notification) flag for Graceful Restart. This is a preparation for RFC8538. More information: https://datatracker.ietf.org/doc/html/rfc8538 Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'bgpd/bgp_open.h')
-rw-r--r--bgpd/bgp_open.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/bgpd/bgp_open.h b/bgpd/bgp_open.h
index d359a872d..1727b6604 100644
--- a/bgpd/bgp_open.h
+++ b/bgpd/bgp_open.h
@@ -88,6 +88,7 @@ struct graceful_restart_af {
/* Graceful Restart */
#define GRACEFUL_RESTART_R_BIT 0x8000
+#define GRACEFUL_RESTART_N_BIT 0x4000
#define GRACEFUL_RESTART_F_BIT 0x80
/* Long-lived Graceful Restart */