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 <[email protected]> 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 <[email protected]>
> Archives:    http://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>             mailto:[email protected]?subject=unsubscribe
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:[email protected]?subject=unsubscribe

Reply via email to