Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
sctp_graph_arwnd_dialog.h
Go to the documentation of this file.
1
10#ifndef SCTP_GRAPH_ARWND_DIALOG_H
11#define SCTP_GRAPH_ARWND_DIALOG_H
12
13#include <config.h>
14
15#include "cfile.h"
16
17#include <QDialog>
18
19namespace Ui {
21}
22
23class QCPAbstractPlottable;
24
25struct _sctp_assoc_info;
26
27class SCTPGraphArwndDialog : public QDialog
28{
29 Q_OBJECT
30
31public:
32 explicit SCTPGraphArwndDialog(QWidget *parent = 0, const _sctp_assoc_info *assoc = NULL,
33 capture_file *cf = NULL, int dir = 0);
35
36public slots:
37 void setCaptureFile(capture_file *cf) { cap_file_ = cf; }
38
39private slots:
40 void on_pushButton_4_clicked();
41
42 void graphClicked(QCPAbstractPlottable* plottable, int, QMouseEvent* event);
43
44 void on_saveButton_clicked();
45
46private:
47 Ui::SCTPGraphArwndDialog *ui;
48 uint16_t selected_assoc_id;
49 capture_file *cap_file_;
50 int frame_num;
51 int direction;
52 uint32_t startArwnd;
53 QVector<double> xa, ya;
54 QVector<uint32_t> fa;
55 // QVector<QString> typeStrings;
56
57 void drawGraph(const _sctp_assoc_info *selected_assoc);
58 void drawArwndGraph(const _sctp_assoc_info *selected_assoc);
59};
60
61#endif // SCTP_GRAPH_DIALOG_H
Definition sctp_graph_arwnd_dialog.h:28
Definition cfile.h:67
Definition tap-sctp-analysis.h:192