aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/ascend-int.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2000-11-11 03:15:07 +0000
committerGuy Harris <guy@alum.mit.edu>2000-11-11 03:15:07 +0000
commit81566ec823aba71bd7fdd8803e999131d02367eb (patch)
treeea1cad346f2e96627169ea4a51749b4c16afd718 /wiretap/ascend-int.h
parent6ba1bf3f8346e81cf1b031ee70bf8c3986df3926 (diff)
In "wdd" captures:
fix the interpretation of the date and time reported in capture files; use that date and time only to set the start date and time of the capture, not to generate the time stamp for every packet. Make the "struct tm" used for that local to the code to handle that production in the grammar, rather than global. For all captures, we *can* now fstat a compressed file (and have been able to do so for a while, in fact), so revert to doing so and using the ctime of the capture file if we can't get a date and time from the file's contents. svn path=/trunk/; revision=2605
Diffstat (limited to 'wiretap/ascend-int.h')
-rw-r--r--wiretap/ascend-int.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/wiretap/ascend-int.h b/wiretap/ascend-int.h
index 2b0f143c41..0f051d5e25 100644
--- a/wiretap/ascend-int.h
+++ b/wiretap/ascend-int.h
@@ -2,7 +2,7 @@
* Definitions for routines common to multiple modules in the Lucent/Ascend
* capture file reading code code, but not used outside that code.
*
- * $Id: ascend-int.h,v 1.6 2000/05/19 08:18:14 guy Exp $
+ * $Id: ascend-int.h,v 1.7 2000/11/11 03:15:07 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -28,6 +28,7 @@
#define __ASCEND_INT_H__
typedef struct {
+ time_t start_time;
time_t secs;
time_t usecs;
guint32 caplen;