From 07d0032f1cb2cf05e5fe30bc89f09f7e20c7a8ee Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Thu, 24 Oct 2002 06:17:36 +0000 Subject: Add a "fragment_add_seq_next()" to reassemble fragments that don't have sequence numbers or offsets and are thus assumed to be received in order with no duplicates or dropped fragments (e.g., for NetBIOS Frame, where 802.2 LLC guarantees in-order delivery to NetBIOS with no duplicates or dropped fragments). "show_fragment_tree()' and "show_fragment_seq_tree()" don't modify the "fragment_items" to which the "fit" argument points, so make that argument a "const fragment_items *". Make all the "fragment_items" tables "static" (as they're not used outside the modules defining them) and "const" (as they're not modified). Add support for reassembly of NetBIOS fragmented requests and responses. Get rid of an unnecessary include of "packet-tr.c" in the NetBIOS dissector, and make its table of dissection function pointers static. Fix some typos in the AppleTalk and NetBIOS dissectors. svn path=/trunk/; revision=6491 --- packet-eap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packet-eap.c') diff --git a/packet-eap.c b/packet-eap.c index 7bd71f33c3..6877341601 100644 --- a/packet-eap.c +++ b/packet-eap.c @@ -2,7 +2,7 @@ * Routines for EAP Extensible Authentication Protocol dissection * RFC 2284 * - * $Id: packet-eap.c,v 1.30 2002/09/08 00:07:40 guy Exp $ + * $Id: packet-eap.c,v 1.31 2002/10/24 06:17:34 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -194,7 +194,7 @@ static int hf_eaptls_fragment_error = -1; static gint ett_eaptls_fragment = -1; static gint ett_eaptls_fragments = -1; -fragment_items eaptls_frag_items = { +static const fragment_items eaptls_frag_items = { &ett_eaptls_fragment, &ett_eaptls_fragments, &hf_eaptls_fragments, -- cgit v1.2.1