exports it.
Make the pointer that points to the GMemChunk for per-frame data static
to "epan/packet.c", as it's not used outside "epan/packet.c".
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2741
f5534014-38df-0310-8fa8-
9805f1628bb7
/* packet.c
* Routines for packet disassembly
*
- * $Id: packet.c,v 1.9 2000/12/03 22:26:26 guy Exp $
+ * $Id: packet.c,v 1.10 2000/12/03 22:32:10 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
#include "tvbuff.h"
#include "plugins.h"
-extern int proto_malformed;
-
-
static void display_signed_time(gchar *, int, gint32, gint32);
void *proto_data;
} frame_proto_data;
-GMemChunk *frame_proto_data_area = NULL;
+static GMemChunk *frame_proto_data_area = NULL;
/*
*
* Top-most dissector. Decides dissector based on Wiretap Encapsulation Type.
*
- * $Id: packet-frame.h,v 1.1 2000/10/06 10:10:49 gram Exp $
+ * $Id: packet-frame.h,v 1.2 2000/12/03 22:32:09 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
void
dissect_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
+
+/* "Protocol" used for "malformed frame" errors */
+extern int proto_malformed;