aboutsummaryrefslogtreecommitdiff
path: root/lib/ofp-print.h
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2012-05-21 21:51:03 -0700
committerBen Pfaff <blp@nicira.com>2012-06-12 21:19:09 -0700
commiteec25dc1ae3ed49ad5e2eda0ca04450c4f75d6f7 (patch)
tree0d1fda2c5091b378098fcbe09a23d85f14f2ab2f /lib/ofp-print.h
parent7c00ccb6740ac240c7d50e3631b36553f47eb769 (diff)
openflow-1.0: Rename ofp_match to ofp10_match, OFPFW_* to OFPFW10_*.
This better fits our general policy of adding a version number suffix to structures and constants whose values differ from one OpenFlow version to the next. Reviewed-by: Simon Horman <horms@verge.net.au> Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'lib/ofp-print.h')
-rw-r--r--lib/ofp-print.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/ofp-print.h b/lib/ofp-print.h
index 8704f57c..ae868a4b 100644
--- a/lib/ofp-print.h
+++ b/lib/ofp-print.h
@@ -23,7 +23,7 @@
#include <stdio.h>
struct ofp_flow_mod;
-struct ofp_match;
+struct ofp10_match;
struct ds;
union ofp_action;
@@ -35,10 +35,10 @@ void ofp_print(FILE *, const void *, size_t, int verbosity);
void ofp_print_packet(FILE *stream, const void *data, size_t len);
void ofp_print_actions(struct ds *, const union ofp_action *, size_t);
-void ofp_print_match(struct ds *, const struct ofp_match *, int verbosity);
+void ofp10_match_print(struct ds *, const struct ofp10_match *, int verbosity);
char *ofp_to_string(const void *, size_t, int verbosity);
-char *ofp_match_to_string(const struct ofp_match *, int verbosity);
+char *ofp10_match_to_string(const struct ofp10_match *, int verbosity);
char *ofp_packet_to_string(const void *data, size_t len);
#ifdef __cplusplus