diff options
Diffstat (limited to 'zebra/if_netlink.h')
| -rw-r--r-- | zebra/if_netlink.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/zebra/if_netlink.h b/zebra/if_netlink.h index d5a73bb467..3d9e934fb0 100644 --- a/zebra/if_netlink.h +++ b/zebra/if_netlink.h @@ -72,6 +72,16 @@ netlink_put_intf_update_msg(struct nl_batch *bth, struct zebra_dplane_ctx *ctx); */ int netlink_protodown(struct interface *ifp, bool down, uint32_t r_bitfield); +/* Protodown bit setter/getter + * + * Allow users to change the bit if it conflicts with another + * on their system. + */ +extern void if_netlink_set_frr_protodown_r_bit(uint8_t bit); +extern void if_netlink_unset_frr_protodown_r_bit(void); +extern bool if_netlink_frr_protodown_r_bit_is_set(void); +extern uint8_t if_netlink_get_frr_protodown_r_bit(void); + #ifdef __cplusplus } #endif |
