diff options
author | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-03-13 22:49:30 +0000 |
---|---|---|
committer | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-03-13 22:49:30 +0000 |
commit | 91b4aaa1e8f5b46dcfc2ca828a5e1d579ee29b3f (patch) | |
tree | 82c65bc81d0037a4529468ff8561a0a8b61647e3 /capture.h | |
parent | 1b64be05a71e963a30635c94f3854495d978ab1b (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.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 */ |