Chris
Thanks.....I figured there was something else I was missing.
So I guess I should use the following to grab 4 bytes..??
guint32 tvb_get_ntohl(tvbuff_t*, gint offset);
Thanks,
Brian
On 11/1/2010 11:24 AM, Christopher Maynard wrote:
Brian Oleksa<oleksab@...> writes:
Will this work if I just change the size and offset from 8 to 4..??
basic answer: no. :)
You are still grabbing 8 bytes from the tvb instead of only 4:
msecs_since_the_epoch = tvb_get_ntoh64(tvb, offset);
___________________________________________________________________________
Sent via: Wireshark-dev mailing list<wireshark-dev@xxxxxxxxxxxxx>
Archives: http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe