Wireshark mailing list archives
Re: basic question
From: Brian Oleksa <oleksab () darkcornersoftware com>
Date: Mon, 01 Nov 2010 11:33:47 -0400
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 () 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
___________________________________________________________________________ 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:
- basic question Brian Oleksa (Nov 01)
- Re: basic question Christopher Maynard (Nov 01)
- Re: basic question Brian Oleksa (Nov 01)
- Re: basic question Christopher Maynard (Nov 01)
- Re: basic question Brian Oleksa (Nov 01)
- Re: basic question Christopher Maynard (Nov 01)