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] epan_t and capture_file

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Fri, 14 Apr 2017 16:23:56 -0700
On Apr 14, 2017, at 2:13 PM, Guy Harris <guy@xxxxxxxxxxxx> wrote:

> On Apr 14, 2017, at 2:02 PM, Simon Barber <simon.barber@xxxxxxxxxx> wrote:
> 
>> The timeline needs to know whether every packet includes timing information. If not, the timeline should be hidden. This is only determined after all the packets have been through a first dissection pass.
> 
> Then there needs to be a mechanism by which the timeline GUI code can inquire whether every packet includes timing information.
> 
> The change to allow dissectors to share per-capture data (not "private" data, "private" means you *don't* share it, as per Michael Mann's comment) would be a mechanism to do that.

Or, alternatively, we could, for example, add a "read completed" callback for tap listeners, called when a capture read or re-read is complete, and passed a tap-dependent argument, giving "global" information about the captured data.