From 80e33aa3ada1e131c65f6b9b31bb6db57128de62 Mon Sep 17 00:00:00 2001 From: tuexen Date: Tue, 5 Jul 2011 20:34:03 +0000 Subject: 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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37904 f5534014-38df-0310-8fa8-9805f1628bb7 --- summary.h | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'summary.h') 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 -- cgit v1.2.3