X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=include%2Fopenflow%2Fopenflow-1.1.h;h=9b2f75435570a4031fc9e615b7126563831b955f;hb=2e1ae2005ed347d2dfebd23fff40c54a1a2a6716;hp=c4a5abaa6bf4cd68179b7dcbf28651be37cbd4bc;hpb=6ed3b860fe806fce26dfc760cb428a9a5432d329;p=cascardo%2Fovs.git diff --git a/include/openflow/openflow-1.1.h b/include/openflow/openflow-1.1.h index c4a5abaa6..9b2f75435 100644 --- a/include/openflow/openflow-1.1.h +++ b/include/openflow/openflow-1.1.h @@ -127,6 +127,7 @@ struct ofp11_port { ovs_be32 curr_speed; /* Current port bitrate in kbps. */ ovs_be32 max_speed; /* Max port bitrate in kbps */ }; +OFP_ASSERT(sizeof(struct ofp11_port) == 64); /* Modify behavior of the physical port */ struct ofp11_port_mod { @@ -588,7 +589,8 @@ struct ofp11_flow_stats { when this is not an exact-match entry. */ ovs_be16 idle_timeout; /* Number of seconds idle before expiration. */ ovs_be16 hard_timeout; /* Number of seconds before expiration. */ - uint8_t pad2[6]; /* Align to 64-bits. */ + ovs_be16 flags; /* OF 1.3: Set of OFPFF*. */ + uint8_t pad2[4]; /* Align to 64-bits. */ ovs_be64 cookie; /* Opaque controller-issued identifier. */ ovs_be64 packet_count; /* Number of packets in flow. */ ovs_be64 byte_count; /* Number of bytes in flow. */