aboutsummaryrefslogtreecommitdiff
path: root/lib/classifier.h
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2010-11-05 11:10:35 -0700
committerBen Pfaff <blp@nicira.com>2010-11-05 11:10:35 -0700
commitf9bfea1402fb4776e505eba7bb712c8355e01e70 (patch)
tree5cb4040bde7a1e778f821bec37eefa9435c70e8a /lib/classifier.h
parent94db54073ea372406d4d82a009301984b097bc6b (diff)
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.
Diffstat (limited to 'lib/classifier.h')
-rw-r--r--lib/classifier.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/classifier.h b/lib/classifier.h
index 7ed3cf74..e178703c 100644
--- a/lib/classifier.h
+++ b/lib/classifier.h
@@ -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 *);