diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2004-03-13 22:49:30 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2004-03-13 22:49:30 +0000 |
commit | 6c9a1dc0939565e1ca0140e3260abaa1184fafdf (patch) | |
tree | 82c65bc81d0037a4529468ff8561a0a8b61647e3 /capture.h | |
parent | ccb2eb06cab142c51c0f04b3db92a499ebdbd403 (diff) | |
download | wireshark-6c9a1dc0939565e1ca0140e3260abaa1184fafdf.tar.gz wireshark-6c9a1dc0939565e1ca0140e3260abaa1184fafdf.tar.bz2 wireshark-6c9a1dc0939565e1ca0140e3260abaa1184fafdf.zip |
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.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 */ |