X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fopenflow%2Fopenflow-1.3.h;h=767e0481081b07a2bc0606106772207918c262f9;hb=e8f9a7bbf1b4dd4cfd4f16a3a9c28ccf406b7d26;hp=231bba980aa4921242b42eb66ca5ef99bf5935d2;hpb=e5114ec15ac53f43aec7c6fedba9689fe51747ab;p=sliver-openvswitch.git diff --git a/include/openflow/openflow-1.3.h b/include/openflow/openflow-1.3.h index 231bba980..767e04810 100644 --- a/include/openflow/openflow-1.3.h +++ b/include/openflow/openflow-1.3.h @@ -116,8 +116,7 @@ enum ofp13_table_config { OFPTC13_DEPRECATED_MASK = 3 /* Deprecated bits */ }; -/* OpenFlow 1.3 specific flags - * (struct ofp12_flow_mod, member flags). */ +/* OpenFlow 1.3 specific flags for flow_mod messages. */ enum ofp13_flow_mod_flags { OFPFF13_NO_PKT_COUNTS = 1 << 3, /* Don't keep track of packet count. */ OFPFF13_NO_BYT_COUNTS = 1 << 4 /* Don't keep track of byte count. */ @@ -402,7 +401,7 @@ struct ofp13_meter_stats { ovs_be32 duration_sec; /* Time meter has been alive in seconds. */ ovs_be32 duration_nsec; /* Time meter has been alive in nanoseconds beyond duration_sec. */ - /* struct ofp13_meter_band_stats band_stats[0]; The band_stats length is + struct ofp13_meter_band_stats band_stats[0]; /* The band_stats length is inferred from the length field. */ }; OFP_ASSERT(sizeof(struct ofp13_meter_stats) == 40);