aboutsummaryrefslogtreecommitdiffstats
path: root/summary.h
diff options
context:
space:
mode:
authorMichael Tüxen <tuexen@fh-muenster.de>2011-07-05 20:34:03 +0000
committerMichael Tüxen <tuexen@fh-muenster.de>2011-07-05 20:34:03 +0000
commitcb90aa79043d162d3a2955cc0c66fd714948f19f (patch)
tree8ff2ea83f9ec58cab18c991d440b80a01de4cfc7 /summary.h
parent4b8f5a1865053f7318467389df23fefa43d14148 (diff)
Add initial support for multiple interfaces. More to come after
the capture options dialog box supports also multiple interfaces. This patch has been developed by Irene Ruengeler. svn path=/trunk/; revision=37904
Diffstat (limited to 'summary.h')
-rw-r--r--summary.h16
1 files changed, 13 insertions, 3 deletions
diff --git a/summary.h b/summary.h
index ef32e7b64e..a21de3a2d2 100644
--- a/summary.h
+++ b/summary.h
@@ -29,6 +29,17 @@
#include "capture.h"
#endif
+typedef struct iface_options_tag {
+ char *name;
+ char *descr;
+ char *cfilter;
+ guint64 drops; /* number of packet drops */
+ gboolean drops_known; /* TRUE if number of packet drops is known */
+ gboolean has_snap; /* TRUE if maximum capture packet length is known */
+ int snap; /* Maximum captured packet length */
+ int linktype; /* wiretap encapsulation type */
+} iface_options;
+
typedef struct _summary_tally {
guint64 bytes; /* total bytes */
double start_time; /* seconds, with msec resolution */
@@ -57,9 +68,8 @@ typedef struct _summary_tally {
const char *dfilter; /* display filter */
/* capture related, use summary_fill_in_capture() to get values */
- const char *cfilter; /* capture filter */
- const char *iface; /* interface name */
- const char *iface_descr;/* descriptive interface name */
+ GArray *ifaces;
+ gboolean legacy;
} summary_tally;
extern void