diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2022-06-27 13:26:52 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2022-06-27 13:26:52 +0000 |
commit | 29bd286b432203d5fc38c366582ece24d86d24ba (patch) | |
tree | eb1172df55775942e3dbc16f1b75a2c51f3ed557 /usr.sbin/bgpd/session.h | |
parent | e254ed0d1c696cac9710967bc5bf9cad5f69d3fa (diff) |
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@
Diffstat (limited to 'usr.sbin/bgpd/session.h')
-rw-r--r-- | usr.sbin/bgpd/session.h | 8 |
1 files changed, 4 insertions, 4 deletions
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 <henning@openbsd.org> @@ -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, |