diff options
author | tuexen <tuexen@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-07-05 20:34:03 +0000 |
---|---|---|
committer | tuexen <tuexen@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-07-05 20:34:03 +0000 |
commit | 80e33aa3ada1e131c65f6b9b31bb6db57128de62 (patch) | |
tree | 8ff2ea83f9ec58cab18c991d440b80a01de4cfc7 /summary.h | |
parent | 3f489aa2849f85977c6bd7ff4d9f7cd00cb44e87 (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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37904 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'summary.h')
-rw-r--r-- | summary.h | 16 |
1 files changed, 13 insertions, 3 deletions
@@ -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 |