Wireshark 4.5.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
22{
23 Q_OBJECT
24
25public:
26 LteRlcStatisticsDialog(QWidget &parent, CaptureFile &cf, const char *filter);
28
29 unsigned getFrameCount() { return packet_count_; }
30 void incFrameCount() { ++packet_count_; }
31
32protected:
33 void captureFileClosing();
34
35signals:
36 void launchRLCGraph(bool channelKnown,
37 uint8_t version,
38 uint16_t ueid,
39 uint8_t rlcMode,
40 uint16_t channelType, uint16_t channelId,
41 uint8_t direction);
42
43private:
44 // Extra controls needed for this dialog.
45 QCheckBox *useRLCFramesFromMacCheckBox_;
46 QCheckBox *showSRFilterCheckBox_;
47 QCheckBox *showRACHFilterCheckBox_;
48 QPushButton *launchULGraph_;
49 QPushButton *launchDLGraph_;
50 QString displayFilter_;
51
52 CaptureFile &cf_;
53 int packet_count_;
54
55 // Callbacks for register_tap_listener
56 static void tapReset(void *ws_dlg_ptr);
57 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);
58 static void tapDraw(void *ws_dlg_ptr);
59
60 void updateHeaderLabels();
61
62 virtual const QString filterExpression();
63
64 QList<QVariant> treeItemData(QTreeWidgetItem *item) const;
65
66private slots:
67 virtual void fillTree();
68 void updateItemSelectionChanged();
69
70 void useRLCFramesFromMacCheckBoxToggled(bool state);
71 void launchULGraphButtonClicked();
72 void launchDLGraphButtonClicked();
73 void filterUpdated(QString filter);
74};
75
76#endif // __LTE_RLC_STATISTICS_DIALOG_H__
Definition capture_file.h:21
Definition lte_rlc_statistics_dialog.h:22
void captureFileClosing()
Called when the capture file is about to close. This can be used to disconnect taps and similar actio...
Definition lte_rlc_statistics_dialog.cpp:1002
Definition tap_parameter_dialog.h:43
Definition packet_info.h:43
Definition epan_dissect.h:28
tap_packet_status
Definition tap.h:25