summaryrefslogtreecommitdiff
path: root/include/openvswitch/ofp-port.h
diff options
context:
space:
mode:
authorBen Pfaff <blp@ovn.org>2018-06-15 17:06:56 -0700
committerBen Pfaff <blp@ovn.org>2018-06-18 15:25:44 -0700
commitfe2c69f49cb3cb0ab2cc2ae84b364970f5e77392 (patch)
treed2f803e322099a4d8e754b3d36ce43cc4c94007d /include/openvswitch/ofp-port.h
parent16ee87263e31dc6520937a0dcefd676f3582d8ee (diff)
downloadopenvswitch-fe2c69f49cb3cb0ab2cc2ae84b364970f5e77392.tar.gz
ofp-print: Move significant formatting code into more specific .c files.
Signed-off-by: Ben Pfaff <blp@ovn.org> Acked-by: Justin Pettit <jpettit@ovn.org>
Diffstat (limited to 'include/openvswitch/ofp-port.h')
-rw-r--r--include/openvswitch/ofp-port.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/openvswitch/ofp-port.h b/include/openvswitch/ofp-port.h
index 4286ba19d..f1f36bf9c 100644
--- a/include/openvswitch/ofp-port.h
+++ b/include/openvswitch/ofp-port.h
@@ -169,6 +169,9 @@ void ofputil_append_port_stat(struct ovs_list *replies,
const struct ofputil_port_stats *ops);
size_t ofputil_count_port_stats(const struct ofp_header *);
int ofputil_decode_port_stats(struct ofputil_port_stats *, struct ofpbuf *msg);
+void ofputil_format_port_stats(struct ds *, const struct ofputil_port_stats *,
+ const struct ofputil_port_map *);
+
enum ofperr ofputil_decode_port_stats_request(const struct ofp_header *request,
ofp_port_t *ofp10_port);