aboutsummaryrefslogtreecommitdiffstats
path: root/capture.h
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2004-03-13 22:49:30 +0000
committerUlf Lamping <ulf.lamping@web.de>2004-03-13 22:49:30 +0000
commit6c9a1dc0939565e1ca0140e3260abaa1184fafdf (patch)
tree82c65bc81d0037a4529468ff8561a0a8b61647e3 /capture.h
parentccb2eb06cab142c51c0f04b3db92a499ebdbd403 (diff)
experimental: make usage of pcap_setbuff to increase the kernel buffer size
svn path=/trunk/; revision=10377
Diffstat (limited to 'capture.h')
-rw-r--r--capture.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/capture.h b/capture.h
index 09d79cb788..916a6a74c0 100644
--- a/capture.h
+++ b/capture.h
@@ -1,7 +1,7 @@
/* capture.h
* Definitions for packet capture windows
*
- * $Id: capture.h,v 1.43 2004/03/04 19:31:20 ulfl Exp $
+ * $Id: capture.h,v 1.44 2004/03/13 22:49:30 ulfl Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -31,6 +31,9 @@
#define CHILD_NAME "ethereal-capture"
typedef struct {
+#ifdef _WIN32
+ int buffer_size; /* the capture buffer size (MB) */
+#endif
gboolean has_snaplen; /* TRUE if maximum capture packet
length is specified */
int snaplen; /* Maximum captured packet length */