diff options
author | Or Gerlitz <ogerlitz@mellanox.com> | 2018-07-31 13:40:37 +0300 |
---|---|---|
committer | Simon Horman <simon.horman@netronome.com> | 2018-08-01 11:32:54 +0200 |
commit | dfa2ccdba8732dc509d1de87b60b827007509989 (patch) | |
tree | 951b3a2918368708ae28006ea3851f930cd982a0 /include/openvswitch | |
parent | b4496fc9d57d94b625449dd45291c8da85764b4a (diff) | |
download | openvswitch-dfa2ccdba8732dc509d1de87b60b827007509989.tar.gz |
lib/tc: Support matching on ip tos
Add the missing code to match on ip tos when dealing
with the TC data-path.
Signed-off-by: Or Gerlitz <ogerlitz@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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/openvswitch/match.h b/include/openvswitch/match.h index b43ecb179..e8c80dd27 100644 --- a/include/openvswitch/match.h +++ b/include/openvswitch/match.h @@ -194,6 +194,7 @@ void match_set_nw_dscp(struct match *, uint8_t); void match_set_nw_ecn(struct match *, uint8_t); void match_set_nw_ttl(struct match *, uint8_t nw_ttl); void match_set_nw_ttl_masked(struct match *, uint8_t nw_ttl, uint8_t mask); +void match_set_nw_tos_masked(struct match *, uint8_t nw_tos, uint8_t mask); void match_set_nw_frag(struct match *, uint8_t nw_frag); void match_set_nw_frag_masked(struct match *, uint8_t nw_frag, uint8_t mask); void match_set_icmp_type(struct match *, uint8_t); |