Wireshark 4.7.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 <epan/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
38class LBMLBTRUTransportDialog : public QDialog
39{
40 Q_OBJECT
41
42 public:
48 explicit LBMLBTRUTransportDialog(QWidget * parent = 0, capture_file * cfile = NULL);
49
54 Ui::LBMLBTRUTransportDialog * getUI(void)
55 {
56 return (m_ui);
57 }
58
59 public slots:
64 void setCaptureFile(capture_file * cfile);
65
66 signals:
71 void goToPacket(int packet_num);
72
73 private:
75 Ui::LBMLBTRUTransportDialog * m_ui;
76
78 LBMLBTRUTransportDialogInfo * m_dialog_info;
79
81 capture_file * m_capture_file;
82
84 LBMLBTRUSourceTransportEntry * m_current_source_transport;
85
87 LBMLBTRUReceiverTransportEntry * m_current_receiver_transport;
88
90 QMenu * m_source_context_menu;
91
93 QHeaderView * m_source_header;
94
96 QMenu * m_receiver_context_menu;
97
99 QHeaderView * m_receiver_header;
100
104 virtual ~LBMLBTRUTransportDialog(void);
105
109 void resetSources(void);
110
114 void resetReceivers(void);
115
119 void resetSourcesDetail(void);
120
124 void resetReceiversDetail(void);
125
129 void fillTree(void);
130
135 static void resetTap(void * tap_data);
136
146 static tap_packet_status tapPacket(void * tap_data, packet_info * pinfo, epan_dissect_t * edt, const void * stream_info, tap_flags_t flags);
147
152 static void drawTreeItems(void * tap_data);
153
158 void loadSourceDataDetails(LBMLBTRUSourceTransportEntry * transport);
159
164 void loadSourceRXDataDetails(LBMLBTRUSourceTransportEntry * transport);
165
170 void loadSourceNCFDetails(LBMLBTRUSourceTransportEntry * transport);
171
176 void loadSourceSMDetails(LBMLBTRUSourceTransportEntry * transport);
177
182 void loadSourceRSTDetails(LBMLBTRUSourceTransportEntry * transport);
183
188 void loadReceiverNAKDetails(LBMLBTRUReceiverTransportEntry * transport);
189
194 void loadReceiverACKDetails(LBMLBTRUReceiverTransportEntry * transport);
195
200 void loadReceiverCREQDetails(LBMLBTRUReceiverTransportEntry * transport);
201
202 private slots:
206 void on_applyFilterButton_clicked(void);
207
212 void sourcesDetailCurrentChanged(int index);
213
219 void sourcesItemClicked(QTreeWidgetItem * item, int column);
220
226 void sourcesDetailItemDoubleClicked(QTreeWidgetItem * item, int column);
227
232 void receiversDetailCurrentChanged(int index);
233
239 void receiversItemClicked(QTreeWidgetItem * item, int column);
240
246 void receiversDetailItemDoubleClicked(QTreeWidgetItem * item, int column);
247
252 void custom_source_context_menuRequested(const QPoint & pos);
253
258 void actionSourceDataFrames_triggered(bool checked);
259
264 void actionSourceDataBytes_triggered(bool checked);
265
270 void actionSourceDataFramesBytes_triggered(bool checked);
271
276 void actionSourceDataRate_triggered(bool checked);
277
282 void actionSourceRXDataFrames_triggered(bool checked);
283
288 void actionSourceRXDataBytes_triggered(bool checked);
289
294 void actionSourceRXDataFramesBytes_triggered(bool checked);
295
300 void actionSourceRXDataRate_triggered(bool checked);
301
306 void actionSourceNCFFrames_triggered(bool checked);
307
312 void actionSourceNCFCount_triggered(bool checked);
313
318 void actionSourceNCFBytes_triggered(bool checked);
319
324 void actionSourceNCFFramesBytes_triggered(bool checked);
325
330 void actionSourceNCFCountBytes_triggered(bool checked);
331
336 void actionSourceNCFFramesCount_triggered(bool checked);
337
342 void actionSourceNCFFramesCountBytes_triggered(bool checked);
343
348 void actionSourceNCFRate_triggered(bool checked);
349
354 void actionSourceSMFrames_triggered(bool checked);
355
360 void actionSourceSMBytes_triggered(bool checked);
361
366 void actionSourceSMFramesBytes_triggered(bool checked);
367
372 void actionSourceSMRate_triggered(bool checked);
373
377 void actionSourceAutoResizeColumns_triggered(void);
378
383 void custom_receiver_context_menuRequested(const QPoint & pos);
384
389 void actionReceiverNAKFrames_triggered(bool checked);
390
395 void actionReceiverNAKCount_triggered(bool checked);
396
401 void actionReceiverNAKBytes_triggered(bool checked);
402
407 void actionReceiverNAKFramesCount_triggered(bool checked);
408
413 void actionReceiverNAKCountBytes_triggered(bool checked);
414
419 void actionReceiverNAKFramesBytes_triggered(bool checked);
420
425 void actionReceiverNAKFramesCountBytes_triggered(bool checked);
426
431 void actionReceiverNAKRate_triggered(bool checked);
432
437 void actionReceiverACKFrames_triggered(bool checked);
438
443 void actionReceiverACKBytes_triggered(bool checked);
444
449 void actionReceiverACKFramesBytes_triggered(bool checked);
450
455 void actionReceiverACKRate_triggered(bool checked);
456
461 void actionReceiverCREQFrames_triggered(bool checked);
462
467 void actionReceiverCREQBytes_triggered(bool checked);
468
473 void actionReceiverCREQFramesBytes_triggered(bool checked);
474
479 void actionReceiverCREQRate_triggered(bool checked);
480
484 void actionReceiverAutoResizeColumns_triggered(void);
485};
486
487#endif
Definition lbm_lbtru_transport_dialog.cpp:980
Definition lbm_lbtru_transport_dialog.cpp:512
Dialog for analyzing LBM LBTRU transport statistics and details.
Definition lbm_lbtru_transport_dialog.h:39
void setCaptureFile(capture_file *cfile)
Sets the capture file.
Definition lbm_lbtru_transport_dialog.cpp:1653
void goToPacket(int packet_num)
Signal emitted to navigate to a specific packet.
Ui::LBMLBTRUTransportDialog * getUI(void)
Retrieves the UI object.
Definition lbm_lbtru_transport_dialog.h:54
Definition lbm_lbtru_transport_dialog.cpp:1335
Represents a capture file and its associated metadata.
Definition cfile.h:84
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