summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_dplane.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2022-06-23 17:00:08 +0200
committerDonald Sharp <sharpd@nvidia.com>2022-06-23 17:23:37 +0200
commit3689905d326cf5bbed298baf256443454bdde6a3 (patch)
tree0a00935fb90dd6e0e41fc728218ab79534ed3be7 /zebra/zebra_dplane.h
parentlib, zebra: Notice when a nexthop is set linkdown (diff)
downloadfrr-3689905d326cf5bbed298baf256443454bdde6a3.tar.xz
frr-3689905d326cf5bbed298baf256443454bdde6a3.zip
zebra: Add interface sysctl ignore on linkdown status
Add the ability to decode the ignore on linkdown nexthop status for an interface. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'zebra/zebra_dplane.h')
-rw-r--r--zebra/zebra_dplane.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/zebra/zebra_dplane.h b/zebra/zebra_dplane.h
index 7ba824c5c..d147a3e21 100644
--- a/zebra/zebra_dplane.h
+++ b/zebra/zebra_dplane.h
@@ -596,10 +596,15 @@ enum dplane_netconf_status_e
dplane_ctx_get_netconf_mpls(const struct zebra_dplane_ctx *ctx);
enum dplane_netconf_status_e
dplane_ctx_get_netconf_mcast(const struct zebra_dplane_ctx *ctx);
+enum dplane_netconf_status_e
+dplane_ctx_get_netconf_linkdown(const struct zebra_dplane_ctx *ctx);
+
void dplane_ctx_set_netconf_mpls(struct zebra_dplane_ctx *ctx,
enum dplane_netconf_status_e val);
void dplane_ctx_set_netconf_mcast(struct zebra_dplane_ctx *ctx,
enum dplane_netconf_status_e val);
+void dplane_ctx_set_netconf_linkdown(struct zebra_dplane_ctx *ctx,
+ enum dplane_netconf_status_e val);
/* Namespace fd info - esp. for netlink communication */
const struct zebra_dplane_info *dplane_ctx_get_ns(