Wireshark mailing list archives

need to read three bytes of offset


From: prashanth s <prbanglore () gmail com>
Date: Thu, 4 Mar 2010 20:53:00 +0530

Hi all,

I am reading a pcap file and writing to a text file. I am getting a field
offset which is supposed to be of three bytes long. How do I read it?
Should I assume that the three bytes obey the network byte order or are the
three bytes of offset are supposed be just read as three bytes of u_char
type?

Regards,
Prashanth
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: