Wireshark 2.9.0-477-g68ec514b The Wireshark network protocol analyzer

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

lbm_lbtru_transport_dialog.h
1 /* lbm_lbtru_transport_dialog.h
2 *
3 * Copyright (c) 2005-2014 Informatica Corporation. All Rights Reserved.
4 *
5 * Wireshark - Network traffic analyzer
6 * By Gerald Combs <gerald@wireshark.org>
7 * Copyright 1998 Gerald Combs
8 *
9 * SPDX-License-Identifier: GPL-2.0-or-later
10 */
11
12 #ifndef LBM_LBTRU_TRANSPORT_DIALOG_H
13 #define LBM_LBTRU_TRANSPORT_DIALOG_H
14
15 #include <config.h>
16
17 #include <glib.h>
18
19 #include "cfile.h"
20 #include <epan/packet_info.h>
21 #include <QDialog>
22
23 class QHeaderView;
24 class QMenu;
25 class QTreeWidgetItem;
26
27 namespace Ui
28 {
29 class LBMLBTRUTransportDialog;
30 }
31
32 class LBMLBTRUTransportDialogInfo;
33 class LBMLBTRUSourceTransportEntry;
34 class LBMLBTRUReceiverTransportEntry;
35
36 class LBMLBTRUTransportDialog : public QDialog
37 {
38 Q_OBJECT
39
40 public:
41 explicit LBMLBTRUTransportDialog(QWidget * parent = 0, capture_file * cfile = NULL);
42 Ui::LBMLBTRUTransportDialog * getUI(void)
43 {
44 return (m_ui);
45 }
46 public slots:
47 void setCaptureFile(capture_file * cfile);
48
49 signals:
50 void goToPacket(int packet_num);
51
52 private:
53 Ui::LBMLBTRUTransportDialog * m_ui;
54 LBMLBTRUTransportDialogInfo * m_dialog_info;
55 capture_file * m_capture_file;
56 LBMLBTRUSourceTransportEntry * m_current_source_transport;
57 LBMLBTRUReceiverTransportEntry * m_current_receiver_transport;
58 QMenu * m_source_context_menu;
59 QHeaderView * m_source_header;
60 QMenu * m_receiver_context_menu;
61 QHeaderView * m_receiver_header;
62
63 virtual ~LBMLBTRUTransportDialog(void);
64 void resetSources(void);
65 void resetReceivers(void);
66 void resetSourcesDetail(void);
67 void resetReceiversDetail(void);
68 void fillTree(void);
69 static void resetTap(void * tap_data);
70 static gboolean tapPacket(void * tap_data, packet_info * pinfo, epan_dissect_t * edt, const void * stream_info);
71 static void drawTreeItems(void * tap_data);
72 void loadSourceDataDetails(LBMLBTRUSourceTransportEntry * transport);
73 void loadSourceRXDataDetails(LBMLBTRUSourceTransportEntry * transport);
74 void loadSourceNCFDetails(LBMLBTRUSourceTransportEntry * transport);
75 void loadSourceSMDetails(LBMLBTRUSourceTransportEntry * transport);
76 void loadSourceRSTDetails(LBMLBTRUSourceTransportEntry * transport);
77 void loadReceiverNAKDetails(LBMLBTRUReceiverTransportEntry * transport);
78 void loadReceiverACKDetails(LBMLBTRUReceiverTransportEntry * transport);
79 void loadReceiverCREQDetails(LBMLBTRUReceiverTransportEntry * transport);
80
81 private slots:
82 void closeDialog(void);
83 void on_applyFilterButton_clicked(void);
84
85 void sourcesDetailCurrentChanged(int index);
86 void sourcesItemClicked(QTreeWidgetItem * item, int column);
87 void sourcesDetailItemDoubleClicked(QTreeWidgetItem * item, int column);
88 void receiversDetailCurrentChanged(int index);
89 void receiversItemClicked(QTreeWidgetItem * item, int column);
90 void receiversDetailItemDoubleClicked(QTreeWidgetItem * item, int column);
91
92 void custom_source_context_menuRequested(const QPoint & pos);
93 void actionSourceDataFrames_triggered(bool checked);
94 void actionSourceDataBytes_triggered(bool checked);
95 void actionSourceDataFramesBytes_triggered(bool checked);
96 void actionSourceDataRate_triggered(bool checked);
97 void actionSourceRXDataFrames_triggered(bool checked);
98 void actionSourceRXDataBytes_triggered(bool checked);
99 void actionSourceRXDataFramesBytes_triggered(bool checked);
100 void actionSourceRXDataRate_triggered(bool checked);
101 void actionSourceNCFFrames_triggered(bool checked);
102 void actionSourceNCFCount_triggered(bool checked);
103 void actionSourceNCFBytes_triggered(bool checked);
104 void actionSourceNCFFramesBytes_triggered(bool checked);
105 void actionSourceNCFCountBytes_triggered(bool checked);
106 void actionSourceNCFFramesCount_triggered(bool checked);
107 void actionSourceNCFFramesCountBytes_triggered(bool checked);
108 void actionSourceNCFRate_triggered(bool checked);
109 void actionSourceSMFrames_triggered(bool checked);
110 void actionSourceSMBytes_triggered(bool checked);
111 void actionSourceSMFramesBytes_triggered(bool checked);
112 void actionSourceSMRate_triggered(bool checked);
113 void actionSourceAutoResizeColumns_triggered(void);
114 void custom_receiver_context_menuRequested(const QPoint & pos);
115 void actionReceiverNAKFrames_triggered(bool checked);
116 void actionReceiverNAKCount_triggered(bool checked);
117 void actionReceiverNAKBytes_triggered(bool checked);
118 void actionReceiverNAKFramesCount_triggered(bool checked);
119 void actionReceiverNAKCountBytes_triggered(bool checked);
120 void actionReceiverNAKFramesBytes_triggered(bool checked);
121 void actionReceiverNAKFramesCountBytes_triggered(bool checked);
122 void actionReceiverNAKRate_triggered(bool checked);
123 void actionReceiverACKFrames_triggered(bool checked);
124 void actionReceiverACKBytes_triggered(bool checked);
125 void actionReceiverACKFramesBytes_triggered(bool checked);
126 void actionReceiverACKRate_triggered(bool checked);
127 void actionReceiverCREQFrames_triggered(bool checked);
128 void actionReceiverCREQBytes_triggered(bool checked);
129 void actionReceiverCREQFramesBytes_triggered(bool checked);
130 void actionReceiverCREQRate_triggered(bool checked);
131 void actionReceiverAutoResizeColumns_triggered(void);
132 };
133
134 #endif
135
136 /*
137 * Editor modelines - http://www.wireshark.org/tools/modelines.html
138 *
139 * Local variables:
140 * c-basic-offset: 4
141 * tab-width: 8
142 * indent-tabs-mode: nil
143 * End:
144 *
145 * vi: set shiftwidth=4 tabstop=8 expandtab:
146 * :indentSize=4:tabSize=8:noTabs=true:
147 */
_packet_info
Definition: packet_info.h:44
Ui
Definition: ui_about_dialog.h:291
LBMLBTRUTransportDialogInfo
Definition: lbm_lbtru_transport_dialog.cpp:1335
Ui::LBMLBTRUTransportDialog
Definition: ui_lbm_lbtru_transport_dialog.h:783
LBMLBTRUTransportDialog
Definition: lbm_lbtru_transport_dialog.h:36
LBMLBTRUSourceTransportEntry
Definition: lbm_lbtru_transport_dialog.cpp:511
epan_dissect
Definition: epan_dissect.h:28
_capture_file
Definition: cfile.h:58
packet_info.h
LBMLBTRUReceiverTransportEntry
Definition: lbm_lbtru_transport_dialog.cpp:979