Signed-off-by: Simon Horman <[email protected]>
---
include/openflow/openflow-1.0.h | 31 +++++++++++++++++++++++++++++++
1 files changed, 31 insertions(+), 0 deletions(-)
diff --git a/include/openflow/openflow-1.0.h b/include/openflow/openflow-1.0.h
index 5844a96..2394cdb 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);
+
/* Why is this packet being sent to the controller? */
enum ofp_packet_in_reason {
OFPR_NO_MATCH, /* No matching flow. */
@@ -608,6 +627,18 @@ struct ofp_flow_stats {
};
OFP_ASSERT(sizeof(struct ofp_flow_stats) == 88);
+/* Body for ofp_stats_request of type OFPST_AGGREGATE. */
+struct ofp10_aggregate_stats_request {
+ struct ofp_match match; /* Fields to match. */
+ uint8_t table_id; /* ID of table to read (from ofp_table_stats)
+ 0xff for all tables or 0xfe for emergency. */
+ uint8_t pad; /* Align to 32 bits. */
+ ovs_be16 out_port; /* Require matching entries to include this
+ as an output port. A value of OFPP_NONE
+ indicates no restriction. */
+};
+OFP_ASSERT(sizeof(struct ofp10_aggregate_stats_request) == 44);
+
/* Reply to OFPST_AGGREGATE request. */
struct ofp_aggregate_stats_reply {
struct ofp_stats_msg osm;
--
1.7.6.3
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev