summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_dplane.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2023-12-06 14:24:01 +0100
committerDonald Sharp <sharpd@nvidia.com>2023-12-06 15:27:52 +0100
commit466ad88ce12af8d613600717def6a17dc6283ee8 (patch)
tree9fedf8f9faf84875d906cc14d6c87598e29035b8 /zebra/zebra_dplane.h
parentMerge pull request #14937 from pguibert6WIND/fix_nhid_suppress (diff)
downloadfrr-466ad88ce12af8d613600717def6a17dc6283ee8.tar.xz
frr-466ad88ce12af8d613600717def6a17dc6283ee8.zip
zebra: Add ability to note that a address is NOPREFIXROUTE
The linux kernel can send up a flag that tells us that the connected address is not a PREFIXROUTE. Add the ability to note this and pass it up from the data plane. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to '')
-rw-r--r--zebra/zebra_dplane.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/zebra/zebra_dplane.h b/zebra/zebra_dplane.h
index 87c2e0365..6dc52ead1 100644
--- a/zebra/zebra_dplane.h
+++ b/zebra/zebra_dplane.h
@@ -658,6 +658,8 @@ bool dplane_ctx_intf_is_connected(const struct zebra_dplane_ctx *ctx);
void dplane_ctx_intf_set_connected(struct zebra_dplane_ctx *ctx);
bool dplane_ctx_intf_is_secondary(const struct zebra_dplane_ctx *ctx);
void dplane_ctx_intf_set_secondary(struct zebra_dplane_ctx *ctx);
+bool dplane_ctx_intf_is_noprefixroute(const struct zebra_dplane_ctx *ctx);
+void dplane_ctx_intf_set_noprefixroute(struct zebra_dplane_ctx *ctx);
bool dplane_ctx_intf_is_broadcast(const struct zebra_dplane_ctx *ctx);
void dplane_ctx_intf_set_broadcast(struct zebra_dplane_ctx *ctx);
const struct prefix *dplane_ctx_get_intf_addr(