diff options
author | Donald Sharp <sharpd@nvidia.com> | 2021-06-04 18:18:45 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2021-07-08 17:12:47 +0200 |
commit | 8ccbc778cffa1ecac10d261ca0f034ffa999136c (patch) | |
tree | a9de891d6c3a2ad734c68af1560b9cc5a5c39f5f /zebra/zebra_dplane.h | |
parent | zebra: Add ability to encode/decode netlink FRA_IP_PROTO for rule changes (diff) | |
download | frr-8ccbc778cffa1ecac10d261ca0f034ffa999136c.tar.xz frr-8ccbc778cffa1ecac10d261ca0f034ffa999136c.zip |
zebra: Add ability for dataplane code to understand rule ip protocols
The zebra dplane needs to be taught about the rule ip_proto that can
be installed.
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 e091655a4..5ec1bd580 100644 --- a/zebra/zebra_dplane.h +++ b/zebra/zebra_dplane.h @@ -493,6 +493,8 @@ uint32_t dplane_ctx_rule_get_fwmark(const struct zebra_dplane_ctx *ctx); uint32_t dplane_ctx_rule_get_old_fwmark(const struct zebra_dplane_ctx *ctx); uint8_t dplane_ctx_rule_get_dsfield(const struct zebra_dplane_ctx *ctx); uint8_t dplane_ctx_rule_get_old_dsfield(const struct zebra_dplane_ctx *ctx); +uint8_t dplane_ctx_rule_get_ipproto(const struct zebra_dplane_ctx *ctx); +uint8_t dplane_ctx_rule_get_old_ipproto(const struct zebra_dplane_ctx *ctx); const struct prefix * dplane_ctx_rule_get_src_ip(const struct zebra_dplane_ctx *ctx); const struct prefix * |