Wireshark-dev: Re: [Wireshark-dev] how to extract "IP.len" (IP_total length) to my local variab

Date: Sat, 25 Jun 2011 03:25:11 +0800
thank you.

but how to get the location (called offset, right?) value? since I need to reach to the last byte of the packet

thanks

> From: guy@xxxxxxxxxxxx
> Date: Fri, 24 Jun 2011 11:49:16 -0700
> To: wireshark-dev@xxxxxxxxxxxxx
> Subject: Re: [Wireshark-dev] how to extract "IP.len" (IP_total length) to my local variable in my dissector?
>
>
> On Jun 24, 2011, at 11:47 AM, John x wrote:
>
> > Now that tvb_length() and tvb_reported_length() are different. Could you please tell me which one I need to use?
>
> tvb_reported_length().
> ___________________________________________________________________________
> 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