Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
lte_rlc_statistics_dialog.h
Go to the documentation of this file.
1
10#ifndef __LTE_RLC_STATISTICS_DIALOG_H__
11#define __LTE_RLC_STATISTICS_DIALOG_H__
12
14
15#include <epan/dissectors/packet-rlc-lte.h>
16#include <epan/dissectors/packet-rlc-3gpp-common.h>
17
18
19#include <QCheckBox>
20
25{
26 Q_OBJECT
27
28public:
35 LteRlcStatisticsDialog(QWidget &parent, CaptureFile &cf, const char *filter);
36
41
46 unsigned getFrameCount() { return packet_count_; }
47
51 void incFrameCount() { ++packet_count_; }
52
53protected:
57 void captureFileClosing();
58
59signals:
70 void launchRLCGraph(bool channelKnown,
71 uint8_t version,
72 uint16_t ueid,
73 uint8_t rlcMode,
74 uint16_t channelType, uint16_t channelId,
75 uint8_t direction);
76
77private:
79 QCheckBox *useRLCFramesFromMacCheckBox_;
80
82 QCheckBox *showSRFilterCheckBox_;
83
85 QCheckBox *showRACHFilterCheckBox_;
86
88 QPushButton *launchULGraph_;
89
91 QPushButton *launchDLGraph_;
92
94 QString displayFilter_;
95
97 CaptureFile &cf_;
98
100 int packet_count_;
101
106 static void tapReset(void *ws_dlg_ptr);
107
115 static tap_packet_status tapPacket(void *ws_dlg_ptr, struct _packet_info *, struct epan_dissect *, const void *rlc_lte_tap_info_ptr, tap_flags_t flags);
116
121 static void tapDraw(void *ws_dlg_ptr);
122
126 void updateHeaderLabels();
127
132 virtual const QString filterExpression();
133
139 QList<QVariant> treeItemData(QTreeWidgetItem *item) const;
140
141private slots:
145 virtual void fillTree();
146
150 void updateItemSelectionChanged();
151
156 void useRLCFramesFromMacCheckBoxToggled(bool state);
157
161 void launchULGraphButtonClicked();
162
166 void launchDLGraphButtonClicked();
167
172 void filterUpdated(QString filter);
173};
174
175#endif // __LTE_RLC_STATISTICS_DIALOG_H__
Manages a capture file and its associated state and operations.
Definition capture_file.h:27
Dialog for displaying LTE RLC statistics.
Definition lte_rlc_statistics_dialog.h:25
void launchRLCGraph(bool channelKnown, uint8_t version, uint16_t ueid, uint8_t rlcMode, uint16_t channelType, uint16_t channelId, uint8_t direction)
Signal emitted to launch an RLC graph.
~LteRlcStatisticsDialog()
Destroys the LteRlcStatisticsDialog.
Definition lte_rlc_statistics_dialog.cpp:827
unsigned getFrameCount()
Retrieves the current frame count.
Definition lte_rlc_statistics_dialog.h:46
void captureFileClosing()
Handles the event when the capture file is closing.
Definition lte_rlc_statistics_dialog.cpp:1002
void incFrameCount()
Increments the frame count.
Definition lte_rlc_statistics_dialog.h:51
Base class for statistics dialogs driven by a tap and an optional display filter, presenting results ...
Definition tap_parameter_dialog.h:58
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