X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fflow.h;fp=lib%2Fflow.h;h=5e78f7963b1dfbb72b1915e4a7089a793f28db90;hb=cc34bc8c8611868474253b8fbd9e79cd66c60c94;hp=315ca3650755ef1f2ae3edca17291c76888d3746;hpb=fb0451d9bfbfb1d2803423c4491fe2d4da4cdc3a;p=openvswitch diff --git a/lib/flow.h b/lib/flow.h index 315ca365..5e78f796 100644 --- a/lib/flow.h +++ b/lib/flow.h @@ -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 *);