summaryrefslogtreecommitdiff
path: root/include/openflow/openflow-1.1.h
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2012-02-14 16:58:39 -0800
committerBen Pfaff <blp@nicira.com>2012-03-07 14:05:08 -0800
commit5293a2e145a9ccc7e42c4a3cf49dee2a21a3b1c8 (patch)
tree742e04e062670c3ea7d8e5b9c49f4869a182ccea /include/openflow/openflow-1.1.h
parent7b7503ea627ccd2a0851803ca39c1505f30415d3 (diff)
downloadopenvswitch-5293a2e145a9ccc7e42c4a3cf49dee2a21a3b1c8.tar.gz
Break OFPT_* constants into common value and 1.0- and 1.1-specific values.
Reviewed-by: Simon Horman <horms@verge.net.au> Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'include/openflow/openflow-1.1.h')
-rw-r--r--include/openflow/openflow-1.1.h25
1 files changed, 24 insertions, 1 deletions
diff --git a/include/openflow/openflow-1.1.h b/include/openflow/openflow-1.1.h
index 93002af95..02120a518 100644
--- a/include/openflow/openflow-1.1.h
+++ b/include/openflow/openflow-1.1.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2008, 2011 The Board of Trustees of The Leland Stanford
+/* Copyright (c) 2008, 2011, 2012 The Board of Trustees of The Leland Stanford
* Junior University
*
* We are making the OpenFlow specification and associated documentation
@@ -70,4 +70,27 @@
#define OFPP11_MAX 0xffffff00
#define OFPP11_OFFSET (OFPP11_MAX - OFPP_MAX)
+/* OpenFlow 1.1 specific message types, in addition to the common message
+ * types. */
+enum ofp11_type {
+ /* Controller command messages. */
+ OFPT11_PACKET_OUT = 13, /* Controller/switch message */
+ OFPT11_FLOW_MOD, /* Controller/switch message */
+ OFPT11_GROUP_MOD, /* Controller/switch message */
+ OFPT11_PORT_MOD, /* Controller/switch message */
+ OFPT11_TABLE_MOD, /* Controller/switch message */
+
+ /* Statistics messages. */
+ OFPT11_STATS_REQUEST, /* Controller/switch message */
+ OFPT11_STATS_REPLY, /* Controller/switch message */
+
+ /* Barrier messages. */
+ OFPT11_BARRIER_REQUEST, /* Controller/switch message */
+ OFPT11_BARRIER_REPLY, /* Controller/switch message */
+
+ /* Queue Configuration messages. */
+ OFPT11_QUEUE_GET_CONFIG_REQUEST, /* Controller/switch message */
+ OFPT11_QUEUE_GET_CONFIG_REPLY, /* Controller/switch message */
+};
+
#endif /* openflow/openflow-1.1.h */