mirror of
https://github.com/openvswitch/ovs
synced 2025-10-15 14:17:18 +00:00
flow: Split flow_extract
Split the L3 and above portion of flow_extract() out into flow_extract_l3_onwards() and call flow_extract_l3_onwards() from flow_extract(). This is to allow re-extraction of l3 and higher information using flow->encap_dl_type which may be set using information contained in actions. Signed-off-by: Simon Horman <horms@verge.net.au> Signed-off-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
@@ -123,6 +123,8 @@ struct flow_metadata {
|
||||
|
||||
void flow_extract(struct ofpbuf *, uint32_t priority, uint32_t mark,
|
||||
const struct flow_tnl *, uint16_t in_port, struct flow *);
|
||||
void flow_extract_l3_onwards(struct ofpbuf *, struct flow *,
|
||||
ovs_be16 dl_type);
|
||||
void flow_zero_wildcards(struct flow *, const struct flow_wildcards *);
|
||||
void flow_get_metadata(const struct flow *, struct flow_metadata *);
|
||||
|
||||
|
Reference in New Issue
Block a user