Little Endian for "Proto_Tree_Add_Bits" Function

asked 2018-01-10 12:36:46 +0000

updated 2018-01-10 13:11:44 +0000

grahamb gravatar image

When using the function proto_tree_add_bits_item, it will try to interpret the packet in big endian, when I need it in little endian.

Is there a way to reorder these bits, or change the endianness using minimum resources?

I am aware of the proto_tree_add_item function but in order to use this, I need to use bit masking, and I would prefer not to go this route.

thanks, Tshark

edit retag flag offensive close merge delete