I am writing a Wireshark dissector plugin for a protocol that does not hton it’s data, and I need to extract a 64-bit data value without doing any endian conversions.
Is there a version of tvb_get_ntoh64 included in the Wireshark libraries that does not do the ntoh?
I found the answer to my own question. The wireshark document \wireshark\doc\README.developer addresses this:
In looking in
tvbuff.h, I see there are other flavors as well:Posting so that people asking this question in the future will be able to find the answer.