From dd7467a01d0f0e737303f96edbfdc4e08a6690c3 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 4 Dec 2019 15:06:08 -0800 Subject: ofp-monitor: Make OFP_FLOW_REMOVED_REASON_BUFSIZE public. This constant is needed to use ofp_flow_removed_reason_to_string(), which is itself public. Signed-off-by: Ben Pfaff Signed-off-by: William Tu --- include/openvswitch/ofp-monitor.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/openvswitch') diff --git a/include/openvswitch/ofp-monitor.h b/include/openvswitch/ofp-monitor.h index 5951260d2..237cef85e 100644 --- a/include/openvswitch/ofp-monitor.h +++ b/include/openvswitch/ofp-monitor.h @@ -22,6 +22,7 @@ #include "openvswitch/match.h" #include "openvswitch/ofp-protocol.h" #include "openvswitch/ofpbuf.h" +#include "openvswitch/type-props.h" #ifdef __cplusplus extern "C" { @@ -29,6 +30,7 @@ extern "C" { struct ofputil_table_map; +#define OFP_FLOW_REMOVED_REASON_BUFSIZE (INT_STRLEN(int) + 1) const char *ofp_flow_removed_reason_to_string(enum ofp_flow_removed_reason, char *reasonbuf, size_t bufsize); -- cgit v1.2.1