diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-04-20 11:36:16 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-04-20 11:36:16 +0000 |
commit | d359286841fb9221400bcc64bf8bbcc88e3127fd (patch) | |
tree | 7ed0620519b78e1ad0b8f6a83d488e1dd856bb3f /packet-ndps.c | |
parent | 4af58d8967aecdaea73d618ea7d6310183e6ffd2 (diff) |
Add a pointer to an hf_ value for a "reassembled_in" field (which can be
null) to the "fragment_items" structure, and don't pass that value into
"process_reassembled_data()", just have it use the value in the
"fragment_items" structure passed to it.
Make "process_reassembled_data()" capable of handling reassembly done by
"fragment_add_seq_check()", and use it in the ATP and 802.11 dissectors;
give them "reassembled_in" fields. Make "process_reassembled_data()"
handle only the case of a completed reassembly (fd_head != NULL) so that
we can use it in those dissectors without gunking the code up too much.
svn path=/trunk/; revision=7513
Diffstat (limited to 'packet-ndps.c')
-rw-r--r-- | packet-ndps.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packet-ndps.c b/packet-ndps.c index 66b5ad03dc..a9501e2bcb 100644 --- a/packet-ndps.c +++ b/packet-ndps.c @@ -3,7 +3,7 @@ * Greg Morris <gmorris@novell.com> * Copyright (c) Novell, Inc. 2002-2003 * - * $Id: packet-ndps.c,v 1.19 2003/04/09 22:33:19 guy Exp $ + * $Id: packet-ndps.c,v 1.20 2003/04/20 11:36:14 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -3013,6 +3013,7 @@ static const fragment_items ndps_frag_items = { &hf_ndps_segment_multiple_tails, &hf_ndps_segment_too_long_segment, &hf_ndps_segment_error, + NULL, "segments" }; |