2013-12-13 11:29:11 +00:00
|
|
|
/* sctp_assoc_analyse_dialog.h
|
|
|
|
*
|
|
|
|
* Wireshark - Network traffic analyzer
|
|
|
|
* By Gerald Combs <gerald@wireshark.org>
|
|
|
|
* Copyright 1998 Gerald Combs
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* as published by the Free Software Foundation; either version 2
|
|
|
|
* of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
2013-12-13 07:25:30 +00:00
|
|
|
#ifndef SCTP_ASSOC_ANALYSE_DIALOG_H
|
|
|
|
#define SCTP_ASSOC_ANALYSE_DIALOG_H
|
|
|
|
|
2015-04-26 17:21:09 +00:00
|
|
|
#include <config.h>
|
2013-12-13 07:25:30 +00:00
|
|
|
|
|
|
|
#include <glib.h>
|
|
|
|
|
|
|
|
#include <file.h>
|
|
|
|
|
|
|
|
#include <epan/dissectors/packet-sctp.h>
|
|
|
|
|
|
|
|
#include "ui/tap-sctp-analysis.h"
|
|
|
|
#include "sctp_all_assocs_dialog.h"
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
#include <QTabWidget>
|
|
|
|
#include <QObject>
|
|
|
|
#include <QGridLayout>
|
|
|
|
#include <QMessageBox>
|
|
|
|
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class SCTPAssocAnalyseDialog;
|
|
|
|
}
|
|
|
|
|
|
|
|
class SCTPAssocAnalyseDialog : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit SCTPAssocAnalyseDialog(QWidget *parent = 0, sctp_assoc_info_t *assoc = NULL, capture_file *cf = NULL, SCTPAllAssocsDialog *caller = NULL);
|
|
|
|
~SCTPAssocAnalyseDialog();
|
|
|
|
|
|
|
|
void fillTabs();
|
2013-12-18 13:49:10 +00:00
|
|
|
static sctp_assoc_info_t* findAssocForPacket(capture_file* cf);
|
2013-12-13 07:25:30 +00:00
|
|
|
|
|
|
|
public slots:
|
|
|
|
void setCaptureFile(capture_file *cf) { cap_file_ = cf; }
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
void on_GraphTSN_2_clicked();
|
|
|
|
void on_GraphTSN_1_clicked();
|
|
|
|
void on_chunkStatisticsButton_clicked();
|
|
|
|
void on_setFilterButton_clicked();
|
|
|
|
|
|
|
|
void on_GraphBytes_1_clicked();
|
|
|
|
void on_GraphBytes_2_clicked();
|
|
|
|
|
|
|
|
void on_GraphArwnd_1_clicked();
|
|
|
|
void on_GraphArwnd_2_clicked();
|
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::SCTPAssocAnalyseDialog *ui;
|
|
|
|
sctp_assoc_info_t *selected_assoc;
|
|
|
|
capture_file *cap_file_;
|
|
|
|
SCTPAllAssocsDialog *caller_;
|
|
|
|
void openGraphDialog(int direction);
|
|
|
|
void openGraphByteDialog(int direction);
|
|
|
|
void openGraphArwndDialog(int direction);
|
|
|
|
|
|
|
|
|
|
|
|
signals:
|
2015-09-17 19:32:28 +00:00
|
|
|
void filterPackets(QString new_filter, bool force);
|
2013-12-13 07:25:30 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // SCTP_ASSOC_ANALYSE_DIALOG_H
|
2013-12-13 11:29:11 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Editor modelines
|
|
|
|
*
|
|
|
|
* Local Variables:
|
|
|
|
* c-basic-offset: 4
|
|
|
|
* tab-width: 8
|
|
|
|
* indent-tabs-mode: nil
|
|
|
|
* End:
|
|
|
|
*
|
|
|
|
* ex: set shiftwidth=4 tabstop=8 expandtab:
|
|
|
|
* :indentSize=4:tabSize=8:noTabs=true:
|
|
|
|
*/
|