#include <stddef.h>
#include <stdint.h>
#include "flow.h"
+#include "openflow/nicira-ext.h"
#include "openvswitch/types.h"
struct cls_rule;
/* Work with OpenFlow 1.0 ofp_match. */
void ofputil_cls_rule_from_match(const struct ofp_match *,
- unsigned int priority, int flow_format,
+ unsigned int priority, enum nx_flow_format,
uint64_t cookie, struct cls_rule *);
-void ofputil_cls_rule_to_match(const struct cls_rule *, int flow_format,
+void ofputil_cls_rule_to_match(const struct cls_rule *, enum nx_flow_format,
struct ofp_match *);
void normalize_match(struct ofp_match *);
char *ofp_match_to_literal_string(const struct ofp_match *match);