projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d485c3f
)
Use new OpenFlow protocol versioning scheme.
author
Justin Pettit
<jpettit@nicira.com>
Wed, 16 Apr 2008 17:39:21 +0000
(10:39 -0700)
committer
Justin Pettit
<jpettit@nicira.com>
Wed, 16 Apr 2008 17:39:21 +0000
(10:39 -0700)
include/openflow.h
patch
|
blob
|
history
diff --git
a/include/openflow.h
b/include/openflow.h
index 43fb817b5d071c658257014cb2bf27a1b6c04755..eba5017e67a302ebddc363619df13ac934051213 100644
(file)
--- 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