diff options
author | Laurent Deniel <laurent.deniel@free.fr> | 1999-07-28 20:17:24 +0000 |
---|---|---|
committer | Laurent Deniel <laurent.deniel@free.fr> | 1999-07-28 20:17:24 +0000 |
commit | c42634dd820de5dbb8f80b5102d7ebd96c2ab41c (patch) | |
tree | 040abfbb6ce1a094da6ad72c0b6e9a163167a6df /capture.h | |
parent | e0b268397a59607cde2e48ecef75ca28afe7196e (diff) | |
download | wireshark-c42634dd820de5dbb8f80b5102d7ebd96c2ab41c.tar.gz wireshark-c42634dd820de5dbb8f80b5102d7ebd96c2ab41c.tar.bz2 wireshark-c42634dd820de5dbb8f80b5102d7ebd96c2ab41c.zip |
Fix the -S option :
- read only the real number of packets that have been written
by the child process. That's avoid incomplete packet read.
- special timeout handling no more necessary and the whole
real time capture and display behavior is much more
satisfying with this patch.
- wiretap modified to allow the reading of 'count' packets
with wtap_loop.
svn path=/trunk/; revision=398
Diffstat (limited to 'capture.h')
-rw-r--r-- | capture.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,7 +1,7 @@ /* capture.h * Definitions for packet capture windows * - * $Id: capture.h,v 1.9 1999/07/20 06:16:09 guy Exp $ + * $Id: capture.h,v 1.10 1999/07/28 20:17:16 deniel Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -36,6 +36,7 @@ typedef struct _loop_data { gint go; gint max; gint linktype; + gint sync_packets; time_t sync_time; packet_counts counts; pcap_dumper_t *pdh; |