aboutsummaryrefslogtreecommitdiffstats
path: root/capture.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>1999-02-09 00:35:38 +0000
committerGuy Harris <guy@alum.mit.edu>1999-02-09 00:35:38 +0000
commit75305346b532da113629c21311817099305762f3 (patch)
tree80d9f3e8a36588385000c9c9e0ffd34ab77c7629 /capture.h
parentfacb50396007c70e5616ff61a4aa22ff43e44001 (diff)
When doing a capture, decode enough of the incoming packets to correctly
update the packet counts and percentages in the dialog box popped up during a capture, even for non-Ethernet captures. svn path=/trunk/; revision=184
Diffstat (limited to 'capture.h')
-rw-r--r--capture.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/capture.h b/capture.h
index b46b4c1149..747948c3bd 100644
--- a/capture.h
+++ b/capture.h
@@ -1,7 +1,7 @@
/* capture.h
* Definitions for packet capture windows
*
- * $Id: capture.h,v 1.3 1998/09/29 21:39:29 hannes Exp $
+ * $Id: capture.h,v 1.4 1999/02/09 00:35:35 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -28,12 +28,9 @@
typedef struct _loop_data {
gint go;
- gint count;
gint max;
- gint tcp;
- gint udp;
- gint ospf;
- gint other;
+ gint linktype;
+ packet_counts counts;
pcap_dumper_t *pdh;
} loop_data;