Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
wlan_statistics_dialog.h
Go to the documentation of this file.
1
10#ifndef WLANSTATISTICSDIALOG_H
11#define WLANSTATISTICSDIALOG_H
12
15
16class QElapsedTimer;
17
24{
25 Q_OBJECT
26
27public:
34 WlanStatisticsDialog(QWidget &parent, CaptureFile &cf, const char *filter);
35
40
41protected:
46 void captureFileClosing();
47
48private:
49 int packet_count_;
50 int cur_network_;
51 PercentBarDelegate *packets_delegate_;
52 PercentBarDelegate *retry_delegate_;
53 QElapsedTimer *add_station_timer_;
54 QString displayFilter_;
61 static void tapReset(void *ws_dlg_ptr);
62
73 static tap_packet_status tapPacket(void *ws_dlg_ptr, struct _packet_info *pinfo,
74 struct epan_dissect *edt,
75 const void *wlan_hdr_ptr, tap_flags_t flags);
76
82 static void tapDraw(void *ws_dlg_ptr);
83
88 virtual const QString filterExpression() ;
89
96 virtual QList<QVariant> treeItemData(QTreeWidgetItem *it) const;
97
98private slots:
103 virtual void fillTree();
104
110 void addStationTreeItems();
111
116 void updateHeaderLabels();
117
123 void filterUpdated(QString filter);
124};
125
126#endif // WLANSTATISTICSDIALOG_H
Manages a capture file and its associated state and operations.
Definition capture_file.h:27
Delegate for drawing a percentage bar in an item view.
Definition percent_bar_delegate.h:40
Base class for statistics dialogs driven by a tap and an optional display filter, presenting results ...
Definition tap_parameter_dialog.h:58
Dialog for displaying and filtering WLAN network statistics, including per-network and per-station pa...
Definition wlan_statistics_dialog.h:24
~WlanStatisticsDialog()
Destroys the dialog and deregisters the tap listener.
Definition wlan_statistics_dialog.cpp:536
void captureFileClosing()
Called when the associated capture file is being closed; stops the tap and disables any actions that ...
Definition wlan_statistics_dialog.cpp:683
Represents the metadata and indexing information for a single captured frame.
Definition packet_info.h:43
Holds all state for the dissection of a single byte array, including session, buffer,...
Definition epan_dissect.h:28
tap_packet_status
Definition tap.h:22