aboutsummaryrefslogtreecommitdiffstats
path: root/capture.h
diff options
context:
space:
mode:
authordeniel <deniel@f5534014-38df-0310-8fa8-9805f1628bb7>1999-07-28 20:17:24 +0000
committerdeniel <deniel@f5534014-38df-0310-8fa8-9805f1628bb7>1999-07-28 20:17:24 +0000
commite2f4ce46296f83d8db0953e8005bacb09f7094e7 (patch)
tree040abfbb6ce1a094da6ad72c0b6e9a163167a6df /capture.h
parent070b238eaa6fd87ada0a2acc6d1ffd645c3efe6b (diff)
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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@398 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'capture.h')
-rw-r--r--capture.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/capture.h b/capture.h
index 43395bf067..1d828411e8 100644
--- a/capture.h
+++ b/capture.h
@@ -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;