diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2000-12-03 22:32:10 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2000-12-03 22:32:10 +0000 |
commit | f7cde100a37de28148db731008e0d16dab2d8883 (patch) | |
tree | ca5093bc485f6d69bb8c7ae0f7e5bf63725d298e /packet-frame.h | |
parent | b87db699cf884a5220eeb22c0c8c55169aee32af (diff) |
Declare "proto_malformed" in "packet-frame.h", as "packet-frame.c"
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
Diffstat (limited to 'packet-frame.h')
-rw-r--r-- | packet-frame.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/packet-frame.h b/packet-frame.h index 62ed6584a9..b1f7517adb 100644 --- a/packet-frame.h +++ b/packet-frame.h @@ -2,7 +2,7 @@ * * 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> @@ -26,3 +26,6 @@ void dissect_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); + +/* "Protocol" used for "malformed frame" errors */ +extern int proto_malformed; |