]> git.puffer.fish Git - mirror/frr.git/commitdiff
zebra: add 'is broadcast' accessor for interface data
authorMark Stapp <mjs@voltanet.io>
Mon, 4 Feb 2019 20:25:13 +0000 (15:25 -0500)
committerMark Stapp <mjs@voltanet.io>
Mon, 22 Apr 2019 17:49:27 +0000 (13:49 -0400)
Add flag and accessor corresponding to the interface struct's
'is broadcast' flag.

Signed-off-by: Mark Stapp <mjs@voltanet.io>
zebra/zebra_dplane.h

index 773f62f467bec5a9b39e159dd98d2440cff438c1..d45628fdd04c9be3dac3ce5053da5e07188dc4fc 100644 (file)
@@ -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);