mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 14:25:26 +00:00
nx-match: Implement support for arbitrary VLAN TCI masks.
Since the Nicira Extended Match was specified nicira-ext.h has claimed that arbitrary masks are allowed, but in fact only certain masks were actually implemented. This commit implements general masking for the 802.1Q VLAN TCI field.
This commit is contained in:
@@ -78,10 +78,12 @@ void cls_rule_set_in_port(struct cls_rule *, uint16_t odp_port);
|
||||
void cls_rule_set_dl_type(struct cls_rule *, ovs_be16);
|
||||
void cls_rule_set_dl_src(struct cls_rule *, const uint8_t[6]);
|
||||
void cls_rule_set_dl_dst(struct cls_rule *, const uint8_t[6]);
|
||||
bool cls_rule_set_dl_tci(struct cls_rule *, ovs_be16 tci);
|
||||
bool cls_rule_set_dl_tci_masked(struct cls_rule *,
|
||||
void cls_rule_set_dl_tci(struct cls_rule *, ovs_be16 tci);
|
||||
void cls_rule_set_dl_tci_masked(struct cls_rule *,
|
||||
ovs_be16 tci, ovs_be16 mask);
|
||||
void cls_rule_set_any_vid(struct cls_rule *);
|
||||
void cls_rule_set_dl_vlan(struct cls_rule *, ovs_be16);
|
||||
void cls_rule_set_any_pcp(struct cls_rule *);
|
||||
void cls_rule_set_dl_vlan_pcp(struct cls_rule *, uint8_t);
|
||||
void cls_rule_set_tp_src(struct cls_rule *, ovs_be16);
|
||||
void cls_rule_set_tp_dst(struct cls_rule *, ovs_be16);
|
||||
|
Reference in New Issue
Block a user