Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
lbm_lbtru_transport_dialog.h
Go to the documentation of this file.
1
12#ifndef LBM_LBTRU_TRANSPORT_DIALOG_H
13#define LBM_LBTRU_TRANSPORT_DIALOG_H
14
15#include <config.h>
16
17#include "cfile.h"
18#include <epan/packet_info.h>
19#include <epan/tap.h>
20#include <QDialog>
21
22class QHeaderView;
23class QMenu;
24class QTreeWidgetItem;
25
26namespace Ui
27{
29}
30
34
35class LBMLBTRUTransportDialog : public QDialog
36{
37 Q_OBJECT
38
39 public:
40 explicit LBMLBTRUTransportDialog(QWidget * parent = 0, capture_file * cfile = NULL);
41 Ui::LBMLBTRUTransportDialog * getUI(void)
42 {
43 return (m_ui);
44 }
45 public slots:
46 void setCaptureFile(capture_file * cfile);
47
48 signals:
49 void goToPacket(int packet_num);
50
51 private:
52 Ui::LBMLBTRUTransportDialog * m_ui;
53 LBMLBTRUTransportDialogInfo * m_dialog_info;
54 capture_file * m_capture_file;
55 LBMLBTRUSourceTransportEntry * m_current_source_transport;
56 LBMLBTRUReceiverTransportEntry * m_current_receiver_transport;
57 QMenu * m_source_context_menu;
58 QHeaderView * m_source_header;
59 QMenu * m_receiver_context_menu;
60 QHeaderView * m_receiver_header;
61
62 virtual ~LBMLBTRUTransportDialog(void);
63 void resetSources(void);
64 void resetReceivers(void);
65 void resetSourcesDetail(void);
66 void resetReceiversDetail(void);
67 void fillTree(void);
68 static void resetTap(void * tap_data);
69 static tap_packet_status tapPacket(void * tap_data, packet_info * pinfo, epan_dissect_t * edt, const void * stream_info, tap_flags_t flags);
70 static void drawTreeItems(void * tap_data);
71 void loadSourceDataDetails(LBMLBTRUSourceTransportEntry * transport);
72 void loadSourceRXDataDetails(LBMLBTRUSourceTransportEntry * transport);
73 void loadSourceNCFDetails(LBMLBTRUSourceTransportEntry * transport);
74 void loadSourceSMDetails(LBMLBTRUSourceTransportEntry * transport);
75 void loadSourceRSTDetails(LBMLBTRUSourceTransportEntry * transport);
76 void loadReceiverNAKDetails(LBMLBTRUReceiverTransportEntry * transport);
77 void loadReceiverACKDetails(LBMLBTRUReceiverTransportEntry * transport);
78 void loadReceiverCREQDetails(LBMLBTRUReceiverTransportEntry * transport);
79
80 private slots:
81 void on_applyFilterButton_clicked(void);
82
83 void sourcesDetailCurrentChanged(int index);
84 void sourcesItemClicked(QTreeWidgetItem * item, int column);
85 void sourcesDetailItemDoubleClicked(QTreeWidgetItem * item, int column);
86 void receiversDetailCurrentChanged(int index);
87 void receiversItemClicked(QTreeWidgetItem * item, int column);
88 void receiversDetailItemDoubleClicked(QTreeWidgetItem * item, int column);
89
90 void custom_source_context_menuRequested(const QPoint & pos);
91 void actionSourceDataFrames_triggered(bool checked);
92 void actionSourceDataBytes_triggered(bool checked);
93 void actionSourceDataFramesBytes_triggered(bool checked);
94 void actionSourceDataRate_triggered(bool checked);
95 void actionSourceRXDataFrames_triggered(bool checked);
96 void actionSourceRXDataBytes_triggered(bool checked);
97 void actionSourceRXDataFramesBytes_triggered(bool checked);
98 void actionSourceRXDataRate_triggered(bool checked);
99 void actionSourceNCFFrames_triggered(bool checked);
100 void actionSourceNCFCount_triggered(bool checked);
101 void actionSourceNCFBytes_triggered(bool checked);
102 void actionSourceNCFFramesBytes_triggered(bool checked);
103 void actionSourceNCFCountBytes_triggered(bool checked);
104 void actionSourceNCFFramesCount_triggered(bool checked);
105 void actionSourceNCFFramesCountBytes_triggered(bool checked);
106 void actionSourceNCFRate_triggered(bool checked);
107 void actionSourceSMFrames_triggered(bool checked);
108 void actionSourceSMBytes_triggered(bool checked);
109 void actionSourceSMFramesBytes_triggered(bool checked);
110 void actionSourceSMRate_triggered(bool checked);
111 void actionSourceAutoResizeColumns_triggered(void);
112 void custom_receiver_context_menuRequested(const QPoint & pos);
113 void actionReceiverNAKFrames_triggered(bool checked);
114 void actionReceiverNAKCount_triggered(bool checked);
115 void actionReceiverNAKBytes_triggered(bool checked);
116 void actionReceiverNAKFramesCount_triggered(bool checked);
117 void actionReceiverNAKCountBytes_triggered(bool checked);
118 void actionReceiverNAKFramesBytes_triggered(bool checked);
119 void actionReceiverNAKFramesCountBytes_triggered(bool checked);
120 void actionReceiverNAKRate_triggered(bool checked);
121 void actionReceiverACKFrames_triggered(bool checked);
122 void actionReceiverACKBytes_triggered(bool checked);
123 void actionReceiverACKFramesBytes_triggered(bool checked);
124 void actionReceiverACKRate_triggered(bool checked);
125 void actionReceiverCREQFrames_triggered(bool checked);
126 void actionReceiverCREQBytes_triggered(bool checked);
127 void actionReceiverCREQFramesBytes_triggered(bool checked);
128 void actionReceiverCREQRate_triggered(bool checked);
129 void actionReceiverAutoResizeColumns_triggered(void);
130};
131
132#endif
Definition lbm_lbtru_transport_dialog.cpp:980
Definition lbm_lbtru_transport_dialog.cpp:512
Definition lbm_lbtru_transport_dialog.h:36
Definition lbm_lbtru_transport_dialog.cpp:1335
Definition cfile.h:67
Definition packet_info.h:43
Definition epan_dissect.h:28
tap_packet_status
Definition tap.h:25