From 688af176440823dbf644b00992eeae2f82397781 Mon Sep 17 00:00:00 2001 From: Simon Horman Date: Fri, 30 Mar 2012 11:29:59 +0900 Subject: [PATCH] Add some missing Open Flow 1.0 definitions Signed-off-by: Simon Horman Signed-off-by: Ben Pfaff --- include/openflow/openflow-1.0.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/include/openflow/openflow-1.0.h b/include/openflow/openflow-1.0.h index 140ae3b8..8af656b1 100644 --- a/include/openflow/openflow-1.0.h +++ b/include/openflow/openflow-1.0.h @@ -178,6 +178,25 @@ struct ofp10_port_mod { }; OFP_ASSERT(sizeof(struct ofp10_port_mod) == 32); +/* Query for port queue configuration. */ +struct ofp10_queue_get_config_request { + struct ofp_header header; + ovs_be16 port; /* Port to be queried. Should refer + to a valid physical port (i.e. < OFPP_MAX) */ + uint8_t pad[2]; + /* 32-bit alignment. */ +}; +OFP_ASSERT(sizeof(struct ofp10_queue_get_config_request) == 12); + +/* Queue configuration for a given port. */ +struct ofp10_queue_get_config_reply { + struct ofp_header header; + ovs_be16 port; + uint8_t pad[6]; + /* struct ofp10_packet_queue queues[0]; List of configured queues. */ +}; +OFP_ASSERT(sizeof(struct ofp10_queue_get_config_reply) == 16); + /* Packet received on port (datapath -> controller). */ struct ofp_packet_in { struct ofp_header header; -- 2.30.2