diff options
author | Mark Stapp <mjs@voltanet.io> | 2019-04-03 10:46:14 +0200 |
---|---|---|
committer | Mark Stapp <mjs@voltanet.io> | 2019-05-28 14:29:00 +0200 |
commit | 9651af6181fb402cf5a67abcfc77c7943a53d90c (patch) | |
tree | 20674fec036cebe42b124d00598501999c9c8130 /zebra/zebra_dplane.h | |
parent | zebra: add source plugin info to dplane context (diff) | |
download | frr-9651af6181fb402cf5a67abcfc77c7943a53d90c.tar.xz frr-9651af6181fb402cf5a67abcfc77c7943a53d90c.zip |
zebra: add 'set' api for dplane context provider
Add a setter for the 'source provider' attribute in dplane
contexts.
Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'zebra/zebra_dplane.h')
-rw-r--r-- | zebra/zebra_dplane.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/zebra/zebra_dplane.h b/zebra/zebra_dplane.h index 75b7748cb..60fd05e22 100644 --- a/zebra/zebra_dplane.h +++ b/zebra/zebra_dplane.h @@ -202,6 +202,8 @@ void dplane_ctx_set_vrf(struct zebra_dplane_ctx *ctx, vrf_id_t vrf); vrf_id_t dplane_ctx_get_vrf(const struct zebra_dplane_ctx *ctx); bool dplane_ctx_is_from_notif(const struct zebra_dplane_ctx *ctx); +void dplane_ctx_set_notif_provider(struct zebra_dplane_ctx *ctx, + uint32_t id); uint32_t dplane_ctx_get_notif_provider(const struct zebra_dplane_ctx *ctx); /* Accessors for route update information */ |