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
10 #ifndef MULTICASTSTATISTICSDIALOG_H
11 #define MULTICASTSTATISTICSDIALOG_H
13 #include "tap_parameter_dialog.h"
14 #include "ui/mcast_stream.h"
18 class MulticastStatisticsDialog
: public TapParameterDialog
23 MulticastStatisticsDialog(QWidget
&parent
, CaptureFile
&cf
, const char *filter
= NULL
);
24 ~MulticastStatisticsDialog();
27 void captureFileClosing();
30 struct _mcaststream_tapinfo
*tapinfo_
;
31 SyntaxLineEdit
*burst_measurement_interval_le_
;
32 SyntaxLineEdit
*burst_alarm_threshold_le_
;
33 SyntaxLineEdit
*buffer_alarm_threshold_le_
;
34 SyntaxLineEdit
*stream_empty_speed_le_
;
35 SyntaxLineEdit
*total_empty_speed_le_
;
36 QList
<QWidget
*> line_edits_
;
38 // Callbacks for register_tap_listener
39 static void tapReset(mcaststream_tapinfo_t
*tapinfo
);
40 static void tapDraw(mcaststream_tapinfo_t
*tapinfo
);
44 virtual QList
<QVariant
> treeItemData(QTreeWidgetItem
*ti
) const;
45 virtual const QString
filterExpression();
49 void updateMulticastParameters();
50 virtual void fillTree();
53 #endif // MULTICASTSTATISTICSDIALOG_H