mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 06:15:47 +00:00
meta-flow: Add OF1.2-like MFF_VLAN_VID and MFF_VLAN_PCP.
OpenFlow 1.0 and 1.2 have notions of VLAN that are different enough to warrant separate "meta-flow" fields, which this commit adds. Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: Simon Horman <horms@verge.net.au>
This commit is contained in:
@@ -118,6 +118,7 @@ static inline bool flow_equal(const struct flow *, const struct flow *);
|
||||
static inline size_t flow_hash(const struct flow *, uint32_t basis);
|
||||
|
||||
void flow_set_dl_vlan(struct flow *, ovs_be16 vid);
|
||||
void flow_set_vlan_vid(struct flow *, ovs_be16 vid);
|
||||
void flow_set_vlan_pcp(struct flow *, uint8_t pcp);
|
||||
|
||||
void flow_compose(struct ofpbuf *, const struct flow *);
|
||||
|
Reference in New Issue
Block a user