Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I'm assuming that the least significant bit of the 4 bytes of the status field in little-endian byte order is the Element1 field?

If that's the case, try changing the mask to isolate the least significant bit instead of the most significant bit, e.g.:

f.structureName_elementName1 = ProtoField.uint32("c.structureName.elementName", "Element1", base.dec, FAIL_OK, 0x0000001)