diff options
author | Paul Blakey <paulb@mellanox.com> | 2019-12-22 12:16:34 +0200 |
---|---|---|
committer | Simon Horman <simon.horman@netronome.com> | 2019-12-22 11:53:57 +0100 |
commit | 62df1f5bea87f17ae062673e93124808a7a03e6e (patch) | |
tree | 25b644ead2cfc4ebc3aabe3727030cca1d1e7bd4 /include/openvswitch | |
parent | 7efc698014aa243139c33afc285c150bd0952d3f (diff) | |
download | openvswitch-62df1f5bea87f17ae062673e93124808a7a03e6e.tar.gz |
match: Add match_set_ct_zone_masked helper
Sets zone in match.
Signed-off-by: Paul Blakey <paulb@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Signed-off-by: Simon Horman <simon.horman@netronome.com>
Diffstat (limited to 'include/openvswitch')
-rw-r--r-- | include/openvswitch/match.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/openvswitch/match.h b/include/openvswitch/match.h index 05ecee7fc..eeabd5f47 100644 --- a/include/openvswitch/match.h +++ b/include/openvswitch/match.h @@ -127,6 +127,8 @@ void match_set_pkt_mark_masked(struct match *, uint32_t pkt_mark, uint32_t mask) void match_set_ct_state(struct match *, uint32_t ct_state); void match_set_ct_state_masked(struct match *, uint32_t ct_state, uint32_t mask); void match_set_ct_zone(struct match *, uint16_t ct_zone); +void match_set_ct_zone_masked(struct match *match, uint16_t ct_zone, + uint16_t mask); void match_set_ct_mark(struct match *, uint32_t ct_mark); void match_set_ct_mark_masked(struct match *, uint32_t ct_mark, uint32_t mask); void match_set_ct_label(struct match *, ovs_u128 ct_label); |