aboutsummaryrefslogtreecommitdiff
path: root/lib/ofp-print.h
diff options
context:
space:
mode:
authorEthan Jackson <ethan@nicira.com>2011-12-22 17:47:15 -0800
committerEthan Jackson <ethan@nicira.com>2012-01-10 14:29:17 -0800
commitc499c75db61f296041d7c39878c4f8cfea7671d5 (patch)
treeebcdf735e14edf4918629c5e41e9e38ff4e658c1 /lib/ofp-print.h
parent2bcf7df6f7a87d8940deff6fbbc359b0a310a74a (diff)
ofp-print: Remove vestigial 'total_len' argument.
ofp_print_packet() and ofp_packet_to_string() don't use the 'total_len' argument which they require callers to supply. Signed-off-by: Ethan Jackson <ethan@nicira.com>
Diffstat (limited to 'lib/ofp-print.h')
-rw-r--r--lib/ofp-print.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ofp-print.h b/lib/ofp-print.h
index 85030560..428f5ce3 100644
--- a/lib/ofp-print.h
+++ b/lib/ofp-print.h
@@ -32,14 +32,14 @@ extern "C" {
#endif
void ofp_print(FILE *, const void *, size_t, int verbosity);
-void ofp_print_packet(FILE *stream, const void *data, size_t len, size_t total_len);
+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);
char *ofp_to_string(const void *, size_t, int verbosity);
char *ofp_match_to_string(const struct ofp_match *, int verbosity);
-char *ofp_packet_to_string(const void *data, size_t len, size_t total_len);
+char *ofp_packet_to_string(const void *data, size_t len);
char *ofp_message_type_to_string(uint8_t type);