aboutsummaryrefslogtreecommitdiffstats
path: root/file.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-12-04 07:32:05 +0000
committerGuy Harris <guy@alum.mit.edu>2001-12-04 07:32:05 +0000
commita1660d6d3afbaeccd77d8e34c695bf65a4f4f09e (patch)
tree20e71ed2ee0399b430f10ab92177fb1d5fc7e953 /file.h
parent9426c4ad15826cee237cc1f822c8a758d01473f6 (diff)
Support for stopping capture at specified capture file size or capture
duration, from Thomas Wittwer and Matthias Nyffenegger. svn path=/trunk/; revision=4322
Diffstat (limited to 'file.h')
-rw-r--r--file.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/file.h b/file.h
index 2c359ea98c..ed04edc0b4 100644
--- a/file.h
+++ b/file.h
@@ -1,7 +1,7 @@
/* file.h
* Definitions for file structures and routines
*
- * $Id: file.h,v 1.84 2001/07/05 00:34:39 guy Exp $
+ * $Id: file.h,v 1.85 2001/12/04 07:32:00 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -86,6 +86,10 @@ typedef struct _capture_file {
proto_tree *protocol_tree; /* Protocol tree for currently selected packet */
epan_dissect_t *edt; /* Protocol dissection fo rcurrently selected packet */
FILE *print_fh; /* File we're printing to */
+#ifdef HAVE_LIBPCAP
+ guint32 autostop_filesize; /* Maximum capture file size */
+ gint32 autostop_duration; /* Maximum capture duration */
+#endif
} capture_file;
/* Return values from "read_cap_file()", "continue_tail_cap_file()",