Ethereal-dev: Re: [Ethereal-dev] New dissector - how to submit?

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

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Wed, 19 Nov 2003 01:50:15 -0800
On Tue, Nov 18, 2003 at 10:35:52PM -0600, Dave Sclarsky wrote:
> You can nuke the hf_ variables

Done.

> Thanks for the body/footer fix, I'll have to see how you did that!

It's a check that looks at both "tvb_length_remaining()" (amount of data
in the tvbuff) and "tvb_reported_length_remaining()" (amount of data
that would have been in the tvbuff had the entire packet been captured -
they'd be the same if the entire packet were captured).