mirror of
https://github.com/openvswitch/ovs
synced 2025-10-27 15:18:06 +00:00
openflow-1.3.h: improve struct ofp13_group_stats definition
Uncomment bucket_stats definition in struct ofp13_group_stats to better match OpenFlow spec 1.3.3's definition on page 91. Signed-off-by: Andy Zhou <azhou@nicira.com> Acked-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
@@ -385,10 +385,10 @@ OFP_ASSERT(sizeof(struct ofp13_queue_stats) == 40);
|
|||||||
/* Body of reply to OFPMP13_GROUP request */
|
/* Body of reply to OFPMP13_GROUP request */
|
||||||
struct ofp13_group_stats {
|
struct ofp13_group_stats {
|
||||||
struct ofp11_group_stats gs;
|
struct ofp11_group_stats gs;
|
||||||
ovs_be32 duration_sec; /* NEW: Time group has been alive in seconds. */
|
ovs_be32 duration_sec; /* Time group has been alive in seconds. */
|
||||||
ovs_be32 duration_nsec; /* NEW: Time group has been alive in nanoseconds
|
ovs_be32 duration_nsec; /* Time group has been alive in nanoseconds
|
||||||
beyond duration_sec. */
|
beyond duration_sec. */
|
||||||
/* struct ofp11_bucket_counter bucket_stats[0]; */
|
struct ofp11_bucket_counter bucket_stats[0];
|
||||||
};
|
};
|
||||||
OFP_ASSERT(sizeof(struct ofp13_group_stats) == 40);
|
OFP_ASSERT(sizeof(struct ofp13_group_stats) == 40);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user