From c99312dae0587939b3aae92bbb7bd4fc7a009800 Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Tue, 14 Oct 2008 22:55:16 +0000 Subject: Use a more accurate variable name for the wiretap file type. Add the file encapsulation to the summary display. svn path=/trunk/; revision=26459 --- summary.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'summary.h') diff --git a/summary.h b/summary.h index 70e27af926..bb9f98d990 100644 --- a/summary.h +++ b/summary.h @@ -47,6 +47,7 @@ typedef struct _summary_tally { double filtered_stop; /* time in seconds, with msec resolution */ const char *filename; gint64 file_length; /* file length in bytes */ + int file_type; /* wiretap file type */ int encap_type; /* wiretap encapsulation type */ gboolean has_snap; /* TRUE if maximum capture packet length is known */ int snap; /* Maximum captured packet length */ @@ -60,7 +61,7 @@ typedef struct _summary_tally { const char *iface_descr;/* descriptive interface name */ } summary_tally; -extern void +extern void summary_fill_in(capture_file *cf, summary_tally *st); #ifdef HAVE_LIBPCAP -- cgit v1.2.3