From 29bd286b432203d5fc38c366582ece24d86d24ba Mon Sep 17 00:00:00 2001 From: Claudio Jeker Date: Mon, 27 Jun 2022 13:26:52 +0000 Subject: Add support for RFC 9234 - Route Leak Prevention and Detection Using Roles With this it is possible to send a role in the OPEN message and if that was successful the RDE will add the new OTC attribute if necessary. OK tb@ --- usr.sbin/bgpd/session.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'usr.sbin/bgpd/session.h') diff --git a/usr.sbin/bgpd/session.h b/usr.sbin/bgpd/session.h index a27bb774980..696cf2aa4db 100644 --- a/usr.sbin/bgpd/session.h +++ b/usr.sbin/bgpd/session.h @@ -1,4 +1,4 @@ -/* $OpenBSD: session.h,v 1.155 2022/06/15 14:09:30 claudio Exp $ */ +/* $OpenBSD: session.h,v 1.156 2022/06/27 13:26:51 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer @@ -86,11 +86,10 @@ enum suberr_open { ERR_OPEN_AS, ERR_OPEN_BGPID, ERR_OPEN_OPT, - ERR_OPEN_AUTH, + ERR_OPEN_AUTH, /* deprecated */ ERR_OPEN_HOLDTIME, ERR_OPEN_CAPA, - ERR_OPEN_GROUP_CONFLICT, /* draft-ietf-idr-bgp-multisession-07 */ - ERR_OPEN_GROUP_REQUIRED /* draft-ietf-idr-bgp-multisession-07 */ + ERR_OPEN_ROLE = 11, }; enum suberr_fsm { @@ -111,6 +110,7 @@ enum capa_codes { CAPA_NONE = 0, CAPA_MP = 1, CAPA_REFRESH = 2, + CAPA_ROLE = 9, CAPA_RESTART = 64, CAPA_AS4BYTE = 65, CAPA_ADD_PATH = 69, -- cgit v1.2.3