aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2012-01-12 11:35:57 -0800
committerBen Pfaff <blp@nicira.com>2012-01-12 11:35:57 -0800
commita1893da130e2bfadcd031476f00a365677a9ff61 (patch)
treee61f7668be2d4c73bba135ce3aed5291faf47cb6 /include
parent73dbf4abd17b6b87fdb5bf22aec7bb3d381dce05 (diff)
ofp-util: Extend message decoding data structures with version field.
This makes it possible to add entries for decoding OpenFlow messages with newer versions, e.g. OpenFlow 1.1 or 1.2. However, no actual messages for newer versions are actually implemented yet; that will come later. Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'include')
-rw-r--r--include/openflow/openflow.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/openflow/openflow.h b/include/openflow/openflow.h
index cee62e8f..f2609840 100644
--- a/include/openflow/openflow.h
+++ b/include/openflow/openflow.h
@@ -41,6 +41,7 @@
* experimental OpenFlow version.
*/
#define OFP_VERSION 0x01
+#define OFP10_VERSION 0x01
#define OFP_MAX_TABLE_NAME_LEN 32
#define OFP_MAX_PORT_NAME_LEN 16