Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] epan_t and capture_file

From: Simon Barber <simon.barber@xxxxxxxxxx>
Date: Thu, 13 Apr 2017 16:40:46 -0700
I ask because I am working out how to connect the wlan_radio dissector with the wireless timeline UI code. Right now the only use of the data field in epan_t that I can find is as a link to the capture_file. Also the only link from the capture_file->window field is to the QT MainWindow, so in theory I can from the dissector test if the window is set, and if so access the MainWindow, and thus the WirelessTimeline directly. OK, or should I find another way?

On Thu, Apr 13, 2017 at 12:10 PM, Guy Harris <guy@xxxxxxxxxxxx> wrote:
On Apr 13, 2017, at 10:52 AM, Simon Barber <simon.barber@xxxxxxxxxx> wrote:

> Why are they loosely coupled?

In theory, libwireshark could be used in a program that doesn't have a "capture file" from which the packets come.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@wireshark.org?subject=unsubscribe