Kerberos: add kerberos_inject_longterm_key() helper function
[wireshark-sm.git] / ui / qt / sctp_assoc_analyse_dialog.h
blob335abfbf9117ba86f80f75f621e1c370c1a72739
1 /** @file
3 * Wireshark - Network traffic analyzer
4 * By Gerald Combs <gerald@wireshark.org>
5 * Copyright 1998 Gerald Combs
7 * SPDX-License-Identifier: GPL-2.0-or-later
8 */
10 #ifndef SCTP_ASSOC_ANALYSE_DIALOG_H
11 #define SCTP_ASSOC_ANALYSE_DIALOG_H
13 #include <config.h>
15 #include <file.h>
17 #include <epan/dissectors/packet-sctp.h>
19 #include "sctp_all_assocs_dialog.h"
21 #include <QDialog>
22 #include <QTabWidget>
23 #include <QObject>
24 #include <QGridLayout>
25 #include <QMessageBox>
28 namespace Ui {
29 class SCTPAssocAnalyseDialog;
32 struct _sctp_assoc_info;
34 class SCTPAssocAnalyseDialog : public QDialog
36 Q_OBJECT
38 public:
39 explicit SCTPAssocAnalyseDialog(QWidget *parent = 0, const _sctp_assoc_info *assoc = NULL,
40 capture_file *cf = NULL);
41 ~SCTPAssocAnalyseDialog();
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);
47 public slots:
48 void setCaptureFile(capture_file *cf) { cap_file_ = cf; }
50 private slots:
51 void on_GraphTSN_2_clicked();
52 void on_GraphTSN_1_clicked();
53 void on_chunkStatisticsButton_clicked();
54 void on_setFilterButton_clicked();
56 void on_GraphBytes_1_clicked();
57 void on_GraphBytes_2_clicked();
59 void on_GraphArwnd_1_clicked();
60 void on_GraphArwnd_2_clicked();
62 private:
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);
71 signals:
72 void filterPackets(QString new_filter, bool force);
75 #endif // SCTP_ASSOC_ANALYSE_DIALOG_H