flow: Better abstract flow_wildcards and use it more widely.
[sliver-openvswitch.git] / lib / flow.h
index a154df2..7a1084a 100644 (file)
@@ -28,6 +28,7 @@
 #include "util.h"
 
 struct ds;
+struct flow_wildcards;
 struct ofp_match;
 struct ofpbuf;
 
@@ -62,7 +63,7 @@ void flow_extract_stats(const struct flow *flow, struct ofpbuf *packet,
 void flow_to_match(const struct flow *, uint32_t wildcards, int flow_format,
                    struct ofp_match *);
 void flow_from_match(const struct ofp_match *, int flow_format,
-                     ovs_be64 cookie, struct flow *, uint32_t *wildcards);
+                     ovs_be64 cookie, struct flow *, struct flow_wildcards *);
 char *flow_to_string(const struct flow *);
 void flow_format(struct ds *, const struct flow *);
 void flow_print(FILE *, const struct flow *);