Ethereal-dev: Re: [Ethereal-dev] tvb_reported_length_remaining

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

From: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Date: Mon, 20 Feb 2006 21:25:42 +0100 (CET)
On Mon, 20 Feb 2006, LEGO wrote:

> On 2/20/06, fabio matturro <fabiomax3@xxxxxxxxxxx> wrote:
> > Hi,
> > what's the difference between tvb_reported_length_remaining and
> > tvb_length_remaining?
>
> if while capturing you capture only the first 64 bytes of a packet of 1404 bytes
>
> tvb_length_remaining(tvb,4) == 60
> tvb_reported_length_remaining(tvb,4) == 1400
>
> > Are there any docs about it?
> at the very least there's tvbuff.h and tvbuff.c (it's open source!)!

Reading the documents in this regard, is it time to drop README.tvbuff, a
transitory document? It talks about the dissector conversion process
during the Ethereal 0.8.4 timeframe, which is long gone. The currently
relevant information (except for the question stated above perhaps) can be
found in README.developer, so nothing will be lost.

Thanx,
Jaap