ofproto: Generalize tun_id_from_cookie into flow_format.
[sliver-openvswitch.git] / lib / classifier.h
index 7ed3cf7..e178703 100644 (file)
@@ -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 *);