aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/wtap-int.h
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2000-11-12 08:45:28 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2000-11-12 08:45:28 +0000
commit1a732e8c3ba4cdc67475d3b0adbe2df61fe54710 (patch)
tree7c3594e479103a70c6827707c1858403a57169f0 /wiretap/wtap-int.h
parentbc0d9bd2dbf631c47277f88e3048d59d04f04efd (diff)
"wtap_loop()" no longer has problems with packet offsets of 0, so we
don't need to work around that. The offset, for a given packet, at which "ascend_seek()" should start searching for that packet's header must be computed separately from the offset, for that packet, at which "ascend_seek()" should start searching for the *next* packet - if the file is a "wdd" capture, and the packet has a "Date:" header and a WD_DIALOUT_DISP header, the search for that packet should start at the beginning of the "Date:" header, but the search for the next packet should start after the WD_DIALOUT_DISP header, as if we start it after the "Date:" header, the search will stop at the packet's own WD_DIALOUT_DISP header, as a packet could have a WD_DIALOUT_DISP header but no "Date:" header. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2620 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'wiretap/wtap-int.h')
-rw-r--r--wiretap/wtap-int.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/wiretap/wtap-int.h b/wiretap/wtap-int.h
index b18ce6ad9c..b220cbef79 100644
--- a/wiretap/wtap-int.h
+++ b/wiretap/wtap-int.h
@@ -1,6 +1,6 @@
/* wtap-int.h
*
- * $Id: wtap-int.h,v 1.9 2000/09/19 17:22:10 gram Exp $
+ * $Id: wtap-int.h,v 1.10 2000/11/12 08:45:28 guy Exp $
*
* Wiretap Library
* Copyright (c) 1998 by Gilbert Ramirez <gram@xiexie.org>
@@ -109,7 +109,7 @@ typedef struct {
typedef struct {
time_t inittime;
int adjusted;
- int seek_add;
+ int next_packet_seek_start;
} ascend_t;
typedef struct {