| Wireshark 4.7.3 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
lte_rlc_statistics_dialog.h
Go to the documentation of this file.
1
9
10#ifndef __LTE_RLC_STATISTICS_DIALOG_H__
11#define __LTE_RLC_STATISTICS_DIALOG_H__
12
13#include "tap_parameter_dialog.h"
14
15#include <epan/dissectors/packet-rlc-lte.h>
16#include <epan/dissectors/packet-rlc-3gpp-common.h>
17
18
19#include <QCheckBox>
20
24 class LteRlcStatisticsDialog : public TapParameterDialog
25{
26 Q_OBJECT
27
28 public:
35 LteRlcStatisticsDialog(QWidget &parent, CaptureFile &cf, const char *filter);
36
40 ~LteRlcStatisticsDialog();
41
46 unsigned getFrameCount() { return packet_count_; }
47
51 void incFrameCount() { ++packet_count_; }
52
53 protected:
57 void captureFileClosing() override;
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
77 private:
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() override;
133
139 QList<QVariant> treeItemData(QTreeWidgetItem *item) const override;
140
141 private slots:
145 virtual void fillTree() override;
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__
CaptureFile
Manages a capture file and its associated state and operations.
Definition capture_file.h:27
LteRlcStatisticsDialog::launchRLCGraph
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::LteRlcStatisticsDialog
LteRlcStatisticsDialog(QWidget &parent, CaptureFile &cf, const char *filter)
Constructs a new LteRlcStatisticsDialog.
Definition lte_rlc_statistics_dialog.cpp:721
LteRlcStatisticsDialog::~LteRlcStatisticsDialog
~LteRlcStatisticsDialog()
Destroys the LteRlcStatisticsDialog.
Definition lte_rlc_statistics_dialog.cpp:827
LteRlcStatisticsDialog::getFrameCount
unsigned getFrameCount()
Retrieves the current frame count.
Definition lte_rlc_statistics_dialog.h:46
LteRlcStatisticsDialog::incFrameCount
void incFrameCount()
Increments the frame count.
Definition lte_rlc_statistics_dialog.h:51
LteRlcStatisticsDialog::captureFileClosing
void captureFileClosing() override
Handles the event when the capture file is closing.
Definition lte_rlc_statistics_dialog.cpp:1002
TapParameterDialog::TapParameterDialog
TapParameterDialog(QWidget &parent, CaptureFile &cf, int help_topic=0)
Constructs the tap parameter dialog and registers it for retapping.
Definition tap_parameter_dialog.cpp:69
_packet_info
Represents the metadata and indexing information for a single captured frame.
Definition packet_info.h:43
epan_dissect
Holds all state for the dissection of a single byte array, including session, buffer,...
Definition epan_dissect.h:28
tap_packet_status
tap_packet_status
Definition tap.h:22
tap_parameter_dialog.h