summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_debug.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_debug.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_debug.h')
-rw-r--r--bgpd/bgp_debug.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/bgpd/bgp_debug.h b/bgpd/bgp_debug.h
index d847fb84e..cf6325ba3 100644
--- a/bgpd/bgp_debug.h
+++ b/bgpd/bgp_debug.h
@@ -170,7 +170,8 @@ extern bool bgp_dump_attr(struct attr *, char *, size_t);
extern bool bgp_debug_peer_updout_enabled(char *host);
extern const char *bgp_notify_code_str(char);
extern const char *bgp_notify_subcode_str(char, char);
-extern void bgp_notify_print(struct peer *, struct bgp_notify *, const char *);
+extern void bgp_notify_print(struct peer *peer, struct bgp_notify *bgp_notify,
+ const char *direct, bool hard_reset);
extern const struct message bgp_status_msg[];
extern int bgp_debug_neighbor_events(struct peer *peer);