[ovs-discuss] the meaning of FLOW_WC_SEQ

Ben Pfaff blp at nicira.com
Fri Jan 24 21:31:31 UTC 2014


On Fri, Jan 24, 2014 at 09:14:52PM +0800, linaishan wrote:
> I want to extend the struct flow in lib/flow.h.
> at line 130 there is a description:
> /* Remember to update FLOW_WC_SEQ when changing 'struct flow'. */
> BUILD_ASSERT_DECL(sizeof(struct flow) == sizeof(struct flow_tnl) + 160 &&
>                   FLOW_WC_SEQ == 20);
> 
> what's the meaning of FLOW_WC_SEQ?

You update it, to any other value, to get compiler errors wherever there
is code that might need to be updated.



More information about the discuss mailing list