aboutsummaryrefslogtreecommitdiffstats
path: root/capture.h
diff options
context:
space:
mode:
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2004-03-13 22:49:30 +0000
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2004-03-13 22:49:30 +0000
commit91b4aaa1e8f5b46dcfc2ca828a5e1d579ee29b3f (patch)
tree82c65bc81d0037a4529468ff8561a0a8b61647e3 /capture.h
parent1b64be05a71e963a30635c94f3854495d978ab1b (diff)
experimental: make usage of pcap_setbuff to increase the kernel buffer size
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10377 f5534014-38df-0310-8fa8-9805f1628bb7
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 */