Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
sctp_all_assocs_dialog.h
Go to the documentation of this file.
1
10#ifndef SCTP_ALL_ASSOCS_DIALOG_H
11#define SCTP_ALL_ASSOCS_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 <QObject>
23
24namespace Ui {
26}
27
31class SCTPAllAssocsDialog : public QDialog
32{
33 Q_OBJECT
34
35public:
41 explicit SCTPAllAssocsDialog(QWidget *parent = 0, capture_file *cf = NULL);
42
47
51 void fillTable();
52
53public slots:
58 void setCaptureFile(capture_file *cf) { cap_file_ = cf; }
59
60private slots:
64 void on_analyseButton_clicked();
65
69 void on_setFilterButton_clicked();
70
74 void getSelectedItem();
75
76private:
78 Ui::SCTPAllAssocsDialog *ui;
79
81 capture_file *cap_file_;
82
84 uint16_t selected_assoc_id;
85
86signals:
92 void filterPackets(QString new_filter, bool force);
93};
94
95#endif // SCTP_ALL_ASSOCS_DIALOG_H
Dialog displaying a list of all detected SCTP associations.
Definition sctp_all_assocs_dialog.h:32
void fillTable()
Fills the dialog's table with SCTP association data.
Definition sctp_all_assocs_dialog.cpp:44
~SCTPAllAssocsDialog()
Destroys the SCTPAllAssocsDialog object.
Definition sctp_all_assocs_dialog.cpp:39
void setCaptureFile(capture_file *cf)
Sets the active capture file for the dialog.
Definition sctp_all_assocs_dialog.h:58
void filterPackets(QString new_filter, bool force)
Signal emitted to request filtering packets based on the selected association.
Represents a capture file and its associated metadata.
Definition cfile.h:84