aboutsummaryrefslogtreecommitdiff
path: root/lib/ofp-msgs.h
diff options
context:
space:
mode:
authorSimon Horman <horms@verge.net.au>2012-08-09 17:49:33 +0900
committerBen Pfaff <blp@nicira.com>2012-08-10 09:55:07 -0700
commit16fdae545986cc0801ed370fe8d4aaac080aef3f (patch)
tree865226b0a1bc79c67910ee0637ea006b6dd20456 /lib/ofp-msgs.h
parentede645d95336399e61185f71d4b0299344918b06 (diff)
ofp-msgs: Split OFPRAW_OFPST_TABLE_REPLY
Split OFPRAW_OFPST_TABLE_REPLY into OpenFlow 1.0, 1.1 and 1.2 versions. This is preparation for allowing encoding and decoding of Open Flow 1.1 and 1.2 Table Stats Reply 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.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/lib/ofp-msgs.h b/lib/ofp-msgs.h
index 7e7b21b6..b8bc122c 100644
--- a/lib/ofp-msgs.h
+++ b/lib/ofp-msgs.h
@@ -203,11 +203,15 @@ enum ofpraw {
/* NXST 1.0 (1): struct ofp_aggregate_stats_reply. */
OFPRAW_NXST_AGGREGATE_REPLY,
- /* OFPST 1.0 (3): void. */
+ /* OFPST 1.0-1.2 (3): void. */
OFPRAW_OFPST_TABLE_REQUEST,
/* OFPST 1.0 (3): struct ofp10_table_stats[]. */
- OFPRAW_OFPST_TABLE_REPLY,
+ OFPRAW_OFPST10_TABLE_REPLY,
+ /* OFPST 1.1 (3): struct ofp11_table_stats[]. */
+ OFPRAW_OFPST11_TABLE_REPLY,
+ /* OFPST 1.2 (3): struct ofp12_table_stats[]. */
+ OFPRAW_OFPST12_TABLE_REPLY,
/* OFPST 1.0 (4): struct ofp10_port_stats_request. */
OFPRAW_OFPST_PORT_REQUEST,
@@ -372,7 +376,9 @@ enum ofptype {
OFPTYPE_AGGREGATE_STATS_REPLY, /* OFPRAW_OFPST_AGGREGATE_REPLY.
* OFPRAW_NXST_AGGREGATE_REPLY. */
OFPTYPE_TABLE_STATS_REQUEST, /* OFPRAW_OFPST_TABLE_REQUEST. */
- OFPTYPE_TABLE_STATS_REPLY, /* OFPRAW_OFPST_TABLE_REPLY. */
+ OFPTYPE_TABLE_STATS_REPLY, /* OFPRAW_OFPST10_TABLE_REPLY.
+ * OFPRAW_OFPST11_TABLE_REPLY.
+ * OFPRAW_OFPST12_TABLE_REPLY. */
OFPTYPE_PORT_STATS_REQUEST, /* OFPRAW_OFPST_PORT_REQUEST. */
OFPTYPE_PORT_STATS_REPLY, /* OFPRAW_OFPST_PORT_REPLY. */
OFPTYPE_QUEUE_STATS_REQUEST, /* OFPRAW_OFPST_QUEUE_REQUEST. */