diff options
author | Guy Harris <guy@alum.mit.edu> | 2000-11-12 08:45:28 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2000-11-12 08:45:28 +0000 |
commit | 00beb21eca1ef8bcae7ae99ce6705e9fc76a4bfd (patch) | |
tree | 7c3594e479103a70c6827707c1858403a57169f0 /wiretap/wtap-int.h | |
parent | 5e2df6d89538432b503cefe7a89f01a75c045e64 (diff) | |
download | wireshark-00beb21eca1ef8bcae7ae99ce6705e9fc76a4bfd.tar.gz wireshark-00beb21eca1ef8bcae7ae99ce6705e9fc76a4bfd.tar.bz2 wireshark-00beb21eca1ef8bcae7ae99ce6705e9fc76a4bfd.zip |
"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.
svn path=/trunk/; revision=2620
Diffstat (limited to 'wiretap/wtap-int.h')
-rw-r--r-- | wiretap/wtap-int.h | 4 |
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 { |