Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
sctp_assoc_analyse_dialog.h
Go to the documentation of this file.
1
10#ifndef SCTP_ASSOC_ANALYSE_DIALOG_H
11#define SCTP_ASSOC_ANALYSE_DIALOG_H
12
13#include <config.h>
14
15#include <file.h>
16
17#include <epan/dissectors/packet-sctp.h>
18
20
21#include <QDialog>
22#include <QTabWidget>
23#include <QObject>
24#include <QGridLayout>
25#include <QMessageBox>
26
27
28namespace Ui {
30}
31
32struct _sctp_assoc_info;
33
34class SCTPAssocAnalyseDialog : public QDialog
35{
36 Q_OBJECT
37
38public:
39 explicit SCTPAssocAnalyseDialog(QWidget *parent = 0, const _sctp_assoc_info *assoc = NULL,
40 capture_file *cf = NULL);
42
43 void fillTabs(const _sctp_assoc_info* selected_assoc);
44 static const _sctp_assoc_info* findAssocForPacket(capture_file* cf);
45 static const _sctp_assoc_info* findAssoc(QWidget *parent, uint16_t assoc_id);
46
47public slots:
48 void setCaptureFile(capture_file *cf) { cap_file_ = cf; }
49
50private slots:
51 void on_GraphTSN_2_clicked();
52 void on_GraphTSN_1_clicked();
53 void on_chunkStatisticsButton_clicked();
54 void on_setFilterButton_clicked();
55
56 void on_GraphBytes_1_clicked();
57 void on_GraphBytes_2_clicked();
58
59 void on_GraphArwnd_1_clicked();
60 void on_GraphArwnd_2_clicked();
61
62private:
63 Ui::SCTPAssocAnalyseDialog *ui;
64 uint16_t selected_assoc_id;
65 capture_file *cap_file_;
66 void openGraphDialog(int direction);
67 void openGraphByteDialog(int direction);
68 void openGraphArwndDialog(int direction);
69
70
71signals:
72 void filterPackets(QString new_filter, bool force);
73};
74
75#endif // SCTP_ASSOC_ANALYSE_DIALOG_H
Definition sctp_assoc_analyse_dialog.h:35
Definition cfile.h:67
Definition tap-sctp-analysis.h:192