Ethereal-dev: [Ethereal-dev] Reading UDP length?

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "fabio matturro" <fabiomax3@xxxxxxxxxxx>
Date: Sun, 16 Apr 2006 18:07:17 +0200
Hello,
is it possible for my proto to read the length of the UDP packet it's carried on? Now, if my_proto packet is more than 1472 bytes long it's split over IP packets.

For example. If it's 2190 bytes:

-The first packet is a UDP packet containg 1472 bytes
-The second packet is an IP packet containing 718 bytes

I know I can reassemble the whole packet setting the 'Reassemble fragmented IP datagrams' Preference but I'd like my_proto to do it automatically, that's why it needs to know the length of the whole UDP packet.

Thanx

_________________________________________________________________
250MB per la tua casella di posta http://www.msn.it/hotmail/minisite_10 Trova immediatamente qualsiasi tipo di file.