summaryrefslogtreecommitdiff
path: root/zebra/zebra_router.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2023-07-24 11:16:53 -0400
committerDonald Sharp <sharpd@nvidia.com>2023-08-03 08:25:20 -0400
commit1f5611c06d1c243b42279748788f0627793ead9c (patch)
tree4a6010c52f465d447620eb77a1d4ec79900ecc61 /zebra/zebra_router.h
parent7415f1e120c9b9d6da9badcfe7e27d22d891cf72 (diff)
zebra: Allow zebra cli to accept v6 routes with v4 nexthops
add --v6-with-v4-nexthop cli to zebra to allow operator to specify that this functionality is allowed. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'zebra/zebra_router.h')
-rw-r--r--zebra/zebra_router.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/zebra/zebra_router.h b/zebra/zebra_router.h
index a7f0f135f9..bd86cfb495 100644
--- a/zebra/zebra_router.h
+++ b/zebra/zebra_router.h
@@ -207,6 +207,7 @@ struct zebra_router {
*/
bool asic_offloaded;
bool notify_on_ack;
+ bool v6_with_v4_nexthop;
/*
* If the asic is notifying us about successful nexthop
@@ -237,7 +238,8 @@ struct zebra_router {
extern struct zebra_router zrouter;
extern uint32_t rcvbufsize;
-extern void zebra_router_init(bool asic_offload, bool notify_on_ack);
+extern void zebra_router_init(bool asic_offload, bool notify_on_ack,
+ bool v6_with_v4_nexthop);
extern void zebra_router_cleanup(void);
extern void zebra_router_terminate(void);