diff options
author | Guy Harris <guy@alum.mit.edu> | 1999-02-11 06:17:30 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 1999-02-11 06:17:30 +0000 |
commit | 22990ed08fa4cab9f8c2b771bee62013e8b591c6 (patch) | |
tree | 706de8a41c29f3d17ddda8d3d483b75c474922ee /file.h | |
parent | 75305346b532da113629c21311817099305762f3 (diff) | |
download | wireshark-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 'file.h')
-rw-r--r-- | file.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,7 +1,7 @@ /* file.h * Definitions for file structures and routines * - * $Id: file.h,v 1.9 1999/01/07 16:15:35 gram Exp $ + * $Id: file.h,v 1.10 1999/02/11 06:17:30 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -82,7 +82,7 @@ typedef struct _capture_file { gchar *dfilter; /* Display filter string */ gchar *cfilter; /* Capture filter string */ bpf_prog fcode; /* Compiled filter program */ - guint8 pd[4096]; /* Packet data */ + guint8 pd[MAX_PACKET_SIZE]; /* Packet data */ GList *plist; /* Packet list */ frame_data *cur; /* Current list item */ column_info cinfo; /* Column formatting information */ |