nexmon – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 /* sctp_assoc_analyse_dialog.h
2 *
3 * Wireshark - Network traffic analyzer
4 * By Gerald Combs <gerald@wireshark.org>
5 * Copyright 1998 Gerald Combs
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; either version 2
10 * of the License, or (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20 */
21  
22 #ifndef SCTP_ASSOC_ANALYSE_DIALOG_H
23 #define SCTP_ASSOC_ANALYSE_DIALOG_H
24  
25 #include <config.h>
26  
27 #include <glib.h>
28  
29 #include <file.h>
30  
31 #include <epan/dissectors/packet-sctp.h>
32  
33 #include "ui/tap-sctp-analysis.h"
34 #include "sctp_all_assocs_dialog.h"
35  
36 #include <QDialog>
37 #include <QTabWidget>
38 #include <QObject>
39 #include <QGridLayout>
40 #include <QMessageBox>
41  
42  
43 namespace Ui {
44 class SCTPAssocAnalyseDialog;
45 }
46  
47 class SCTPAssocAnalyseDialog : public QDialog
48 {
49 Q_OBJECT
50  
51 public:
52 explicit SCTPAssocAnalyseDialog(QWidget *parent = 0, sctp_assoc_info_t *assoc = NULL, capture_file *cf = NULL, SCTPAllAssocsDialog *caller = NULL);
53 ~SCTPAssocAnalyseDialog();
54  
55 void fillTabs();
56 static sctp_assoc_info_t* findAssocForPacket(capture_file* cf);
57  
58 public slots:
59 void setCaptureFile(capture_file *cf) { cap_file_ = cf; }
60  
61 private slots:
62 void on_GraphTSN_2_clicked();
63 void on_GraphTSN_1_clicked();
64 void on_chunkStatisticsButton_clicked();
65 void on_setFilterButton_clicked();
66  
67 void on_GraphBytes_1_clicked();
68 void on_GraphBytes_2_clicked();
69  
70 void on_GraphArwnd_1_clicked();
71 void on_GraphArwnd_2_clicked();
72  
73 private:
74 Ui::SCTPAssocAnalyseDialog *ui;
75 sctp_assoc_info_t *selected_assoc;
76 capture_file *cap_file_;
77 SCTPAllAssocsDialog *caller_;
78 void openGraphDialog(int direction);
79 void openGraphByteDialog(int direction);
80 void openGraphArwndDialog(int direction);
81  
82  
83 signals:
84 void filterPackets(QString new_filter, bool force);
85 };
86  
87 #endif // SCTP_ASSOC_ANALYSE_DIALOG_H
88  
89 /*
90 * Editor modelines
91 *
92 * Local Variables:
93 * c-basic-offset: 4
94 * tab-width: 8
95 * indent-tabs-mode: nil
96 * End:
97 *
98 * ex: set shiftwidth=4 tabstop=8 expandtab:
99 * :indentSize=4:tabSize=8:noTabs=true:
100 */