From: Mark Stapp Date: Mon, 4 Feb 2019 20:25:13 +0000 (-0500) Subject: zebra: add 'is broadcast' accessor for interface data X-Git-Tag: 7.1_pulled~53^2~2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=990b0d09d8f3702170003682e3e577a34c902cb7;p=mirror%2Ffrr.git zebra: add 'is broadcast' accessor for interface data Add flag and accessor corresponding to the interface struct's 'is broadcast' flag. Signed-off-by: Mark Stapp --- diff --git a/zebra/zebra_dplane.h b/zebra/zebra_dplane.h index 773f62f467..d45628fdd0 100644 --- a/zebra/zebra_dplane.h +++ b/zebra/zebra_dplane.h @@ -245,6 +245,7 @@ uint32_t dplane_ctx_get_intf_metric(const struct zebra_dplane_ctx *ctx); /* Is interface addr p2p? */ bool dplane_ctx_intf_is_connected(const struct zebra_dplane_ctx *ctx); bool dplane_ctx_intf_is_secondary(const struct zebra_dplane_ctx *ctx); +bool dplane_ctx_intf_is_broadcast(const struct zebra_dplane_ctx *ctx); const struct prefix *dplane_ctx_get_intf_addr( const struct zebra_dplane_ctx *ctx); bool dplane_ctx_intf_has_dest(const struct zebra_dplane_ctx *ctx);