Use new OpenFlow protocol versioning scheme.
authorJustin Pettit <jpettit@nicira.com>
Wed, 16 Apr 2008 17:39:21 +0000 (10:39 -0700)
committerJustin Pettit <jpettit@nicira.com>
Wed, 16 Apr 2008 17:39:21 +0000 (10:39 -0700)
include/openflow.h

index 43fb817..eba5017 100644 (file)
 #define OFP_MAXLEN (sizeof(struct ofp_switch_features) \
         + (sizeof(struct ofp_phy_port) * OFPP_MAX) + 200)
 
-#define OFP_VERSION   1
+
+/* The most significant bit being set in the version field indicates an
+ * experimental OpenFlow version.  
+ */
+#define OFP_VERSION   0x80
+
 #define OFP_MAX_TABLE_NAME_LEN 32
 #define OFP_MAX_PORT_NAME_LEN  16