summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_open.h
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas.abraitis@gmail.com>2020-10-01 22:08:06 +0200
committerDonatas Abraitis <donatas.abraitis@gmail.com>2021-01-05 19:19:41 +0100
commit9af52ccf813f936a571822f4330fea281dbe13b4 (patch)
tree39dec0bf2fade1b91fe4811b22ed803911dc4ff3 /bgpd/bgp_open.h
parentdoc: Add rfc7313 (Enhanced Route Refresh Capability for BGP-4) to the list (diff)
downloadfrr-9af52ccf813f936a571822f4330fea281dbe13b4.tar.xz
frr-9af52ccf813f936a571822f4330fea281dbe13b4.zip
bgpd: Implement enhanced route refresh capability
16:40:49 BGP: 192.168.0.2: sending route-refresh (BoRR) for IPv4/unicast 16:40:51 BGP: 192.168.0.2: sending route-refresh (EoRR) for IPv4/unicast Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Diffstat (limited to 'bgpd/bgp_open.h')
-rw-r--r--bgpd/bgp_open.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/bgpd/bgp_open.h b/bgpd/bgp_open.h
index 5250a6858..471ac05c7 100644
--- a/bgpd/bgp_open.h
+++ b/bgpd/bgp_open.h
@@ -49,6 +49,7 @@ struct graceful_restart_af {
#define CAPABILITY_CODE_DYNAMIC_OLD 66 /* Dynamic Capability, deprecated since 2003 */
#define CAPABILITY_CODE_DYNAMIC 67 /* Dynamic Capability */
#define CAPABILITY_CODE_ADDPATH 69 /* Addpath Capability */
+#define CAPABILITY_CODE_ENHANCED_RR 70 /* Enhanced Route Refresh capability */
#define CAPABILITY_CODE_FQDN 73 /* Advertise hostname capability */
#define CAPABILITY_CODE_ENHE 5 /* Extended Next Hop Encoding */
#define CAPABILITY_CODE_REFRESH_OLD 128 /* Route Refresh Capability(cisco) */
@@ -63,6 +64,7 @@ struct graceful_restart_af {
#define CAPABILITY_CODE_ADDPATH_LEN 4
#define CAPABILITY_CODE_ENHE_LEN 6 /* NRLI AFI = 2, SAFI = 2, Nexthop AFI = 2 */
#define CAPABILITY_CODE_MIN_FQDN_LEN 2
+#define CAPABILITY_CODE_ENHANCED_LEN 0
#define CAPABILITY_CODE_ORF_LEN 5
/* Cooperative Route Filtering Capability. */