aboutsummaryrefslogtreecommitdiffstats
path: root/packet-clnp.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-10-24 06:17:36 +0000
committerGuy Harris <guy@alum.mit.edu>2002-10-24 06:17:36 +0000
commit07d0032f1cb2cf05e5fe30bc89f09f7e20c7a8ee (patch)
tree0f836a7e98dd222351ae977bf19443905c24c8d8 /packet-clnp.c
parent0c0516a755dd1084b567e9fa8f97c7b7664a6f42 (diff)
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
Diffstat (limited to 'packet-clnp.c')
-rw-r--r--packet-clnp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-clnp.c b/packet-clnp.c
index 228b899928..47590edcf6 100644
--- a/packet-clnp.c
+++ b/packet-clnp.c
@@ -1,7 +1,7 @@
/* packet-clnp.c
* Routines for ISO/OSI network and transport protocol packet disassembly
*
- * $Id: packet-clnp.c,v 1.59 2002/08/28 21:00:08 jmayer Exp $
+ * $Id: packet-clnp.c,v 1.60 2002/10/24 06:17:34 guy Exp $
* Laurent Deniel <deniel@worldnet.fr>
* Ralf Schneider <Ralf.Schneider@t-online.de>
*
@@ -73,7 +73,7 @@ static int hf_clnp_segment_multiple_tails = -1;
static int hf_clnp_segment_too_long_segment = -1;
static int hf_clnp_segment_error = -1;
-fragment_items clnp_frag_items = {
+static const fragment_items clnp_frag_items = {
&ett_clnp_segment,
&ett_clnp_segments,
&hf_clnp_segments,