summaryrefslogtreecommitdiff
path: root/include/openvswitch
diff options
context:
space:
mode:
authorBen Pfaff <blp@ovn.org>2019-12-04 15:06:08 -0800
committerWilliam Tu <u9012063@gmail.com>2019-12-12 10:16:09 -0800
commitdd7467a01d0f0e737303f96edbfdc4e08a6690c3 (patch)
tree70273a562eaa1331a8e1fc4fe74515c05acdce9c /include/openvswitch
parent95a5454c511057ae6f35c18f0adfce4d2dbe5410 (diff)
downloadopenvswitch-dd7467a01d0f0e737303f96edbfdc4e08a6690c3.tar.gz
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 <blp@ovn.org> Signed-off-by: William Tu <u9012063@gmail.com>
Diffstat (limited to 'include/openvswitch')
-rw-r--r--include/openvswitch/ofp-monitor.h2
1 files changed, 2 insertions, 0 deletions
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);