aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>1999-02-11 06:17:30 +0000
committerGuy Harris <guy@alum.mit.edu>1999-02-11 06:17:30 +0000
commit22990ed08fa4cab9f8c2b771bee62013e8b591c6 (patch)
tree706de8a41c29f3d17ddda8d3d483b75c474922ee /ethereal.h
parent75305346b532da113629c21311817099305762f3 (diff)
downloadwireshark-22990ed08fa4cab9f8c2b771bee62013e8b591c6.tar.gz
wireshark-22990ed08fa4cab9f8c2b771bee62013e8b591c6.tar.bz2
wireshark-22990ed08fa4cab9f8c2b771bee62013e8b591c6.zip
Make the minimum and maximum packet sizes #defines.
Crank the maximum packet size up to 65535 bytes. svn path=/trunk/; revision=185
Diffstat (limited to 'ethereal.h')
-rw-r--r--ethereal.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/ethereal.h b/ethereal.h
index 4f5a74e41a..58e8553b67 100644
--- a/ethereal.h
+++ b/ethereal.h
@@ -1,7 +1,7 @@
/* ethereal.h
* Global defines, etc.
*
- * $Id: ethereal.h,v 1.10 1998/12/29 04:05:35 gerald Exp $
+ * $Id: ethereal.h,v 1.11 1999/02/11 06:17:30 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -37,6 +37,9 @@
#define DEF_READY_MESSAGE " Ready to load or capture"
#define EXTERNAL_FILTER "/usr/local/bin/ethereal_tcp_filter -f"
+#define MIN_PACKET_SIZE 68 /* minimum amount of packet data we can read */
+#define MAX_PACKET_SIZE 65535 /* maximum amount of packet data we can read */
+
/* Byte swapping routines */
#define SWAP16(x) \
( (((x) & 0x00ff) << 8) | \