openflow: Add OpenFlow1.5 port desc request.
[cascardo/ovs.git] / include / openflow / openflow-1.5.h
index 4d77818..d112f35 100644 (file)
 
 #include <openflow/openflow-common.h>
 
+/* Body for ofp15_multipart_request of type OFPMP_PORT_DESC. */
+struct ofp15_port_desc_request {
+    ovs_be32 port_no;         /* All ports if OFPP_ANY. */
+    uint8_t pad[4];            /* Align to 64 bits. */
+};
+OFP_ASSERT(sizeof(struct ofp15_port_desc_request) == 8);
+
 /* Group commands */
 enum ofp15_group_mod_command {
     /* Present since OpenFlow 1.1 - 1.4 */