aboutsummaryrefslogtreecommitdiff
path: root/lib/ofp-msgs.h
diff options
context:
space:
mode:
authorSimon Horman <horms@verge.net.au>2012-08-09 17:49:26 +0900
committerBen Pfaff <blp@nicira.com>2012-08-10 09:35:43 -0700
commitcfc2314156eaf0bb29862570ef30d5ddfa38982e (patch)
treedb27d8aa577421dc0c6068c609eac0e29d4e779e /lib/ofp-msgs.h
parentbb2bc3c1a6b49794af17cc162e2c36b4adee73a3 (diff)
ofp-msgs: Split OFPRAW_OFPST_FLOW_{REQUEST,REPLY}
Split OFPRAW_OFPST_FLOW_{REQUEST,REPLY} into OpenFlow 1.0 and 1.1+ versions. This is in preparation for adding encoding and decoding of Open Flow 1.1 & 1.2 messages. Signed-off-by: Simon Horman <horms@verge.net.au> Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'lib/ofp-msgs.h')
-rw-r--r--lib/ofp-msgs.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/lib/ofp-msgs.h b/lib/ofp-msgs.h
index 0683bc5e..7e7b21b6 100644
--- a/lib/ofp-msgs.h
+++ b/lib/ofp-msgs.h
@@ -180,12 +180,16 @@ enum ofpraw {
OFPRAW_OFPST_DESC_REPLY,
/* OFPST 1.0 (1): struct ofp10_flow_stats_request. */
- OFPRAW_OFPST_FLOW_REQUEST,
+ OFPRAW_OFPST10_FLOW_REQUEST,
+ /* OFPST 1.1+ (1): struct ofp11_flow_stats_request, uint8_t[8][]. */
+ OFPRAW_OFPST11_FLOW_REQUEST,
/* NXST 1.0 (0): struct nx_flow_stats_request, uint8_t[8][]. */
OFPRAW_NXST_FLOW_REQUEST,
/* OFPST 1.0 (1): uint8_t[]. */
- OFPRAW_OFPST_FLOW_REPLY,
+ OFPRAW_OFPST10_FLOW_REPLY,
+ /* OFPST 1.1+ (1): uint8_t[]. */
+ OFPRAW_OFPST11_FLOW_REPLY,
/* NXST 1.0 (0): uint8_t[]. */
OFPRAW_NXST_FLOW_REPLY,
@@ -357,9 +361,11 @@ enum ofptype {
/* Statistics. */
OFPTYPE_DESC_STATS_REQUEST, /* OFPRAW_OFPST_DESC_REQUEST. */
OFPTYPE_DESC_STATS_REPLY, /* OFPRAW_OFPST_DESC_REPLY. */
- OFPTYPE_FLOW_STATS_REQUEST, /* OFPRAW_OFPST_FLOW_REQUEST.
+ OFPTYPE_FLOW_STATS_REQUEST, /* OFPRAW_OFPST10_FLOW_REQUEST.
+ * OFPRAW_OFPST11_FLOW_REQUEST.
* OFPRAW_NXST_FLOW_REQUEST. */
- OFPTYPE_FLOW_STATS_REPLY, /* OFPRAW_OFPST_FLOW_REPLY.
+ OFPTYPE_FLOW_STATS_REPLY, /* OFPRAW_OFPST10_FLOW_REPLY.
+ * OFPRAW_OFPST11_FLOW_REPLY.
* OFPRAW_NXST_FLOW_REPLY. */
OFPTYPE_AGGREGATE_STATS_REQUEST, /* OFPRAW_OFPST_AGGREGATE_REQUEST.
* OFPRAW_NXST_AGGREGATE_REQUEST. */