diff options
| author | Mark Stapp <mjs@labn.net> | 2023-10-05 11:02:42 -0400 | 
|---|---|---|
| committer | Mark Stapp <mjs@labn.net> | 2023-10-05 16:22:40 -0400 | 
| commit | 4fabe90c7f2a1e7b956b6c79945f6d3679c8ccf9 (patch) | |
| tree | 417f1e300c87f7dac17ad605a75bc2a53010ef1d /zebra/zebra_dplane.h | |
| parent | 36518032216956915968628864e6d4f1c5fb31f5 (diff) | |
lib,*: add vrf id to pbr rule results zapi message
The iprule/pbr rule object has a vrf id, and zebra uses
that internally, but the vrf id isn't returned to clients
who install rules and are waiting for results. Include the
vrf_id sent by the client in the zapi result notification
message; update the existing clients so they decode the id.
Signed-off-by: Mark Stapp <mjs@labn.net>
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 4d4a17bbae..87c2e03656 100644 --- a/zebra/zebra_dplane.h +++ b/zebra/zebra_dplane.h @@ -740,6 +740,8 @@ intptr_t  dplane_ctx_rule_get_old_dp_flow_ptr(const struct zebra_dplane_ctx *ctx);  void dplane_ctx_rule_set_dp_flow_ptr(struct zebra_dplane_ctx *ctx,  				     intptr_t dp_flow_ptr); +vrf_id_t dplane_ctx_rule_get_vrfid(const struct zebra_dplane_ctx *ctx); +  /* Accessors for policy based routing iptable information */  struct zebra_pbr_iptable;  void dplane_ctx_get_pbr_iptable(const struct zebra_dplane_ctx *ctx,  | 
