summaryrefslogtreecommitdiff
path: root/bgpd/bgpd.h
diff options
context:
space:
mode:
authorMikhail Sokolovskiy <sokolmish@gmail.com>2024-09-24 19:00:11 +0300
committerDavid Lamparter <equinox@opensourcerouting.org>2024-10-29 12:15:04 +0100
commit6bff341ebfd1ce2d202a4f01f3a861d8a59794d4 (patch)
treec68dab7eb1dc71dbb47ffa09c3a9cca82a1cd0c7 /bgpd/bgpd.h
parentfbc85e8ecad002888d0686c9e4706067c4215d22 (diff)
bgpd: add `bgp ipv6-auto-ra` command
Introduce a command to stop bgpd from enabling IPv6 router advertisement messages sending on interfaces. Signed-off-by: Mikhail Sokolovskiy <sokolmish@gmail.com>
Diffstat (limited to 'bgpd/bgpd.h')
-rw-r--r--bgpd/bgpd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/bgpd/bgpd.h b/bgpd/bgpd.h
index dda108bcf6..b139b2c1b4 100644
--- a/bgpd/bgpd.h
+++ b/bgpd/bgpd.h
@@ -155,6 +155,7 @@ struct bgp_master {
uint32_t flags;
#define BM_FLAG_GRACEFUL_SHUTDOWN (1 << 0)
#define BM_FLAG_SEND_EXTRA_DATA_TO_ZEBRA (1 << 1)
+#define BM_FLAG_IPV6_NO_AUTO_RA (1 << 8)
bool terminating; /* global flag that sigint terminate seen */
@@ -514,6 +515,8 @@ struct bgp {
/* For BGP-LU, force IPv6 local prefixes to use ipv6-explicit-null label */
#define BGP_FLAG_LU_IPV6_EXPLICIT_NULL (1ULL << 34)
#define BGP_FLAG_SOFT_VERSION_CAPABILITY (1ULL << 35)
+/* Prohibit BGP from enabling IPv6 RA on interfaces */
+#define BGP_FLAG_IPV6_NO_AUTO_RA (1ULL << 40)
/* BGP default address-families.
* New peers inherit enabled afi/safis from bgp instance.