ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] Obtaining UDP packet lenght

From: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Date: Fri, 9 Jul 2010 07:08:39 +0200
Hi,

The functions tvb_length() and
tvb_reported_length() can be of use here.

Thanks,
Jaap

Send from my iPhone

On 9 jul 2010, at 00:39, eymanm <eymanm@xxxxxxxxx> wrote:

I'm dissecting content of a UDP packet. I need to use the packet length number, which is IMHO is dissected by packet-udp.c. Is there a way of getting this parameter within my dissector and not making any changes to the packet-udp?

Thanks
___________________________________________________________________________


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