diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-12-04 07:32:05 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-12-04 07:32:05 +0000 |
commit | a1660d6d3afbaeccd77d8e34c695bf65a4f4f09e (patch) | |
tree | 20e71ed2ee0399b430f10ab92177fb1d5fc7e953 /file.h | |
parent | 9426c4ad15826cee237cc1f822c8a758d01473f6 (diff) | |
download | wireshark-a1660d6d3afbaeccd77d8e34c695bf65a4f4f09e.tar.gz wireshark-a1660d6d3afbaeccd77d8e34c695bf65a4f4f09e.tar.bz2 wireshark-a1660d6d3afbaeccd77d8e34c695bf65a4f4f09e.zip |
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.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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()", |