From: Justin Pettit Date: Wed, 16 Apr 2008 17:39:21 +0000 (-0700) Subject: Use new OpenFlow protocol versioning scheme. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17c21631d51e2e32c6090c830533e49030ff4012;p=openvswitch Use new OpenFlow protocol versioning scheme. --- diff --git a/include/openflow.h b/include/openflow.h index 43fb817b..eba5017e 100644 --- a/include/openflow.h +++ b/include/openflow.h @@ -46,7 +46,12 @@ #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