diff options
author | Anders Broman <anders.broman@ericsson.com> | 2005-10-03 18:34:21 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2005-10-03 18:34:21 +0000 |
commit | 758ceb58e84db5fa8628e5189ee7e44a6dbf265f (patch) | |
tree | 745e2350133c8d14dbfd7d5d81f7a1baf85ec71d /epan/packet.c | |
parent | f11ef4b7a01d3182e140bd58c51bed349f28e2df (diff) | |
download | wireshark-758ceb58e84db5fa8628e5189ee7e44a6dbf265f.tar.gz wireshark-758ceb58e84db5fa8628e5189ee7e44a6dbf265f.tar.bz2 wireshark-758ceb58e84db5fa8628e5189ee7e44a6dbf265f.zip |
From Jeff Snyder:
04-stream.diff
A simplified packet reassembly API built on top of fragment_add_seq_next for
reassembling fragments that are delivered in-order, where fragments are
identified by a framenum and an offset into that frame. Streams are attached
to a conversation or a circuit and are unidirectional.
svn path=/trunk/; revision=16082
Diffstat (limited to 'epan/packet.c')
-rw-r--r-- | epan/packet.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/epan/packet.c b/epan/packet.c index 45b073f1fb..e3c62828bd 100644 --- a/epan/packet.c +++ b/epan/packet.c @@ -54,6 +54,7 @@ #include "emem.h" #include <epan/reassemble.h> +#include <epan/stream.h> static gint proto_malformed = -1; static dissector_handle_t frame_handle = NULL; @@ -146,6 +147,9 @@ init_dissection(void) may free up space for fragments, which they find by using the data structures that "reassemble_init()" frees. */ reassemble_init(); + + /* Initialise the stream-handling tables */ + stream_init(); } void |