From 1bb2cdbef2dbbd946fb3f8e82417303ae801c2f8 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Fri, 9 May 2014 12:28:09 -0700 Subject: Implement OpenFlow 1.4 queue statistics. Signed-off-by: Ben Pfaff --- include/openflow/openflow-1.4.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'include') diff --git a/include/openflow/openflow-1.4.h b/include/openflow/openflow-1.4.h index 4a18e1f30..f7bdecbc0 100644 --- a/include/openflow/openflow-1.4.h +++ b/include/openflow/openflow-1.4.h @@ -205,6 +205,19 @@ struct ofp14_port_stats { OFP_ASSERT(sizeof(struct ofp14_port_stats) == 80); +/* ## ----------------- ## */ +/* ## ofp14_queue_stats ## */ +/* ## ----------------- ## */ + +struct ofp14_queue_stats { + ovs_be16 length; /* Length of this entry. */ + uint8_t pad[6]; /* Align to 64 bits. */ + struct ofp13_queue_stats qs; + /* Followed by 0 or more properties (none yet defined). */ +}; +OFP_ASSERT(sizeof(struct ofp14_queue_stats) == 48); + + /* ## -------------- ## */ /* ## Miscellaneous. ## */ /* ## -------------- ## */ -- cgit v1.2.1