diff options
author | Donald Sharp <sharpd@nvidia.com> | 2022-10-03 21:28:48 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2022-12-12 16:44:57 +0100 |
commit | 10388e99c490f4a3d76586d14ce13ac039ad43d1 (patch) | |
tree | c84cf6e9e29113c0c53d016d73ce41e3412d9444 /zebra/zebra_dplane.h | |
parent | zebra: Remove goto's that do not do anything special (diff) | |
download | frr-10388e99c490f4a3d76586d14ce13ac039ad43d1.tar.xz frr-10388e99c490f4a3d76586d14ce13ac039ad43d1.zip |
zebra: Add dplane_ctx_get|set_flags
Zebra needs the ability to pass this data around.
Add it to the dplanes ability to pass.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
zebra: Add a dplane_ctx_set_flags
The dplane_ctx_set_flags call is missing, we will need it. Add it.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
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 b9fd176de..60d920554 100644 --- a/zebra/zebra_dplane.h +++ b/zebra/zebra_dplane.h @@ -380,6 +380,8 @@ route_tag_t dplane_ctx_get_old_tag(const struct zebra_dplane_ctx *ctx); uint16_t dplane_ctx_get_instance(const struct zebra_dplane_ctx *ctx); void dplane_ctx_set_instance(struct zebra_dplane_ctx *ctx, uint16_t instance); uint16_t dplane_ctx_get_old_instance(const struct zebra_dplane_ctx *ctx); +uint32_t dplane_ctx_get_flags(const struct zebra_dplane_ctx *ctx); +void dplane_ctx_set_flags(struct zebra_dplane_ctx *ctx, uint32_t flags); uint32_t dplane_ctx_get_metric(const struct zebra_dplane_ctx *ctx); uint32_t dplane_ctx_get_old_metric(const struct zebra_dplane_ctx *ctx); uint32_t dplane_ctx_get_mtu(const struct zebra_dplane_ctx *ctx); |