Hi All, I am facing a compilation issue on making a change in openflow-1.0.h struct "ofp10_flow_mod"(adding a new parameter) , though the ASSERT value has been correctly modified for the struct and build has passed the assert code block.
The following error is faced currently : """ PYTHONPATH=./python":"$PYTHONPATH PYTHONDONTWRITEBYTECODE=yes /usr/bin/python ./build-aux/check-structs -I./include include/openflow/nicira-ext.h include/openflow/nicira-ext.h:314: error at "/": type name expected make[2]: *** [include/openflow/nicira-ext.hstamp] Error 1 make[2]: Leaving directory `/home/user/openvswitch-2.3.0' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/user/openvswitch-2.3.0' make: *** [all] Error 2 """ enum nx_action_subtype { ... NXAST_SAMPLE, /* struct nx_action_sample */ || Error at this line:include/openflow/nicira-ext.h:314 ... } --------------------------------------------- For reference, the following changes are made in "openflow-1.0.h" """ struct ofp10_flow_mod { struct ofp10_match match; ovs_be64 cookie; /* Flow actions. */ ovs_be16 command; ovs_be16 idle_timeout; ovs_be16 hard_timeout; ovs_be16 priority; ovs_be32 buffer_id; ovs_be16 out_port; ovs_be16 flags; ovs_be16 importance; /* New Parameter added */ uint8_t pad[6]; /* Padding added */ struct ofp_action_header actions[0]; }; OFP_ASSERT(sizeof(struct ofp10_flow_mod) == 72); // Value modified from 64 to 72 after adding new parameter """ ------------------------------------------ Not able to relate the changes in the "openflow-1.0.h" with the error line in "nicira-ext.h" Any inputs will be highly appreciable. Thanks & Regards Rishi =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev