mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 06:15:47 +00:00
ofproto: Generalize tun_id_from_cookie into flow_format.
Upcoming commits will add more flow formats, so this needs to be an enumerated type instead of a bool.
This commit is contained in:
@@ -75,8 +75,7 @@ enum {
|
||||
void cls_rule_from_flow(const struct flow *, uint32_t wildcards,
|
||||
unsigned int priority, struct cls_rule *);
|
||||
void cls_rule_from_match(const struct ofp_match *, unsigned int priority,
|
||||
bool tun_id_from_cookie, uint64_t cookie,
|
||||
struct cls_rule *);
|
||||
int flow_format, uint64_t cookie, struct cls_rule *);
|
||||
|
||||
void cls_rule_zero_wildcards(struct cls_rule *);
|
||||
|
||||
|
Reference in New Issue
Block a user