Little Endian for "Proto_Tree_Add_Bits" Function

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

TsharkCreator's avatar
1
TsharkCreator
asked 2018-01-10 12:36:46 +0000
grahamb's avatar
23.8k
grahamb
updated 2018-01-10 13:11:44 +0000
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments