X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=build-aux%2Fcheck-structs;h=0428abf51c738a475d2a9103244d8e65b3ce83d0;hb=ec988646afe6aee6a63d6894a3e9b50f715d5941;hp=731a4e29f732a2fc4e7fded63c1da78bd4bcb645;hpb=539315543cc6123ae4efec162e291f7f90d0ccf0;p=sliver-openvswitch.git diff --git a/build-aux/check-structs b/build-aux/check-structs index 731a4e29f..0428abf51 100755 --- a/build-aux/check-structs +++ b/build-aux/check-structs @@ -11,9 +11,6 @@ anyWarnings = False types = {} types['char'] = {"size": 1, "alignment": 1} types['uint8_t'] = {"size": 1, "alignment": 1} -types['uint16_t'] = {"size": 2, "alignment": 2} -types['uint32_t'] = {"size": 4, "alignment": 4} -types['uint64_t'] = {"size": 8, "alignment": 8} types['ovs_be16'] = {"size": 2, "alignment": 2} types['ovs_be32'] = {"size": 4, "alignment": 4} types['ovs_be64'] = {"size": 8, "alignment": 8} @@ -193,7 +190,7 @@ def parseStruct(): forceMatch(';') if size % alignment: shortage = alignment - (size % alignment) - if (structName == "struct ofp_packet_in" and + if (structName == "struct ofp10_packet_in" and shortage == 2 and memberName == 'data' and count == 0):