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] Rename TVB captured length vs reported length

From: Jakub Zawadzki <darkjames-ws@xxxxxxxxxxxx>
Date: Mon, 17 Feb 2014 23:44:17 +0100
Hi,

On Mon, Feb 17, 2014 at 05:07:04PM -0500, Evan Huus wrote:
> After yet another patch submission where this was unclear, I would
> like to propose the following change:
> 
> tvb_length, tvb_length_remaining, etc. are changed to all operate on
> the reported length on the wire
> 
> tvb_reported_* are dropped in favor of tvb_captured_* which operate on
> the available captured length (what is currently given by just
> tvb_length).
> 
> The problem is that 95% of the time the intended behaviour is best
> achieved by the reported length,

What's the use case of remaining 5%? Heuristic dissectors?