2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-31 06:15:47 +00:00

flow: New functions for setting a VLAN VID or PCP value.

This commit is contained in:
Ben Pfaff
2011-11-21 14:14:02 -08:00
parent 268a95e009
commit 3719455c2a
2 changed files with 41 additions and 0 deletions

View File

@@ -100,6 +100,9 @@ static inline int flow_compare_3way(const struct flow *, const struct flow *);
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_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 *);
static inline int