diff options
author | Ben Pfaff <blp@ovn.org> | 2017-04-05 23:08:09 -0700 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2017-04-07 15:50:50 -0700 |
commit | 2f2b904f9e28afaff3dfb7adaa62b96c0d144ace (patch) | |
tree | 97ed6aa637b4c93cc2386e87436675b62e26d1a9 /include/openflow/openflow-1.1.h | |
parent | b2342f7a4bcadf60a368855de085ff12ae6a9d20 (diff) | |
download | openvswitch-2f2b904f9e28afaff3dfb7adaa62b96c0d144ace.tar.gz |
Add support for OpenFlow 1.6 (draft) port status and port mod messages.
OpenFlow 1.6 adds support for EUI-64 addresses for ports, and extends
the maximum length of OpenFlow port names from 16 to 64 bytes.
ONF-JIRA: EXT-566
Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Andy Zhou <azhou@ovn.org>
Diffstat (limited to 'include/openflow/openflow-1.1.h')
-rw-r--r-- | include/openflow/openflow-1.1.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/openflow/openflow-1.1.h b/include/openflow/openflow-1.1.h index de2847543..a29db8f3e 100644 --- a/include/openflow/openflow-1.1.h +++ b/include/openflow/openflow-1.1.h @@ -53,6 +53,7 @@ #define OPENFLOW_11_H 1 #include <openflow/openflow-common.h> +#include <openflow/openflow-1.0.h> /* OpenFlow 1.1 uses 32-bit port numbers. Open vSwitch, for now, uses OpenFlow * 1.0 port numbers internally. We map them to OpenFlow 1.0 as follows: @@ -112,7 +113,7 @@ struct ofp11_port { uint8_t pad[4]; struct eth_addr hw_addr; uint8_t pad2[2]; /* Align to 64 bits. */ - char name[OFP_MAX_PORT_NAME_LEN]; /* Null-terminated */ + char name[OFP10_MAX_PORT_NAME_LEN]; /* Null-terminated */ ovs_be32 config; /* Bitmap of OFPPC_* flags. */ ovs_be32 state; /* Bitmap of OFPPS_* and OFPPS11_* flags. */ |