From 6fdaa45a6f6c9dda2b376060a1483d8fc71f9ef5 Mon Sep 17 00:00:00 2001 From: Andy Zhou Date: Thu, 10 Apr 2014 00:50:34 -0700 Subject: [PATCH] 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 Acked-by: Ben Pfaff --- include/openflow/openflow-1.3.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/openflow/openflow-1.3.h b/include/openflow/openflow-1.3.h index 4696f01d4..8e9f6f746 100644 --- a/include/openflow/openflow-1.3.h +++ b/include/openflow/openflow-1.3.h @@ -385,10 +385,10 @@ OFP_ASSERT(sizeof(struct ofp13_queue_stats) == 40); /* Body of reply to OFPMP13_GROUP request */ struct ofp13_group_stats { struct ofp11_group_stats gs; - ovs_be32 duration_sec; /* NEW: Time group has been alive in seconds. */ - ovs_be32 duration_nsec; /* NEW: Time group has been alive in nanoseconds + ovs_be32 duration_sec; /* Time group has been alive in seconds. */ + ovs_be32 duration_nsec; /* Time group has been alive in nanoseconds 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); -- 2.43.0