diff options
author | Ben Pfaff <blp@nicira.com> | 2014-05-09 12:28:09 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2014-05-14 10:31:43 -0700 |
commit | 1bb2cdbef2dbbd946fb3f8e82417303ae801c2f8 (patch) | |
tree | c1642cd372dfe1d5b107cec625816fa74cb2f710 /include | |
parent | 5469537be57efb7c49c848706fbe16772c11771d (diff) | |
download | openvswitch-1bb2cdbef2dbbd946fb3f8e82417303ae801c2f8.tar.gz |
Implement OpenFlow 1.4 queue statistics.
Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/openflow/openflow-1.4.h | 13 |
1 files changed, 13 insertions, 0 deletions
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. ## */ /* ## -------------- ## */ |