From Richard van der Hoff:
authorAnders Broman <anders.broman@ericsson.com>
Wed, 21 Feb 2007 06:19:03 +0000 (06:19 -0000)
committerAnders Broman <anders.broman@ericsson.com>
Wed, 21 Feb 2007 06:19:03 +0000 (06:19 -0000)
commite2cab6caa975f33bf5fde17cad8f2eb2cc58e60f
treecf279b2b97fbd8c3476b39718e7cc2834f0a0d21
parentd5f4bfe77361552a244dcefc8ec74ee0a2aac61f
From Richard van der Hoff:
01_reassemble_test.patch
------------------------
I didn't want to do anything without some unit tests, so here they are.
This allows a standalone binary, epan/reassemble_test, to be built; this can be run from the commandline and should end up printing out "success"
if all goes well.
NOTE the changes to makefile.am NOT checked in currently.

Incidentally: is it possible to get the buildbot to run things like this, exntest and tvbtest?

02_reassemble_refactor.patch
----------------------------
fragment_add_seq, fragment_add_dcerpc_dg and fragment_add_seq_check_work were all pretty much carbon-copies of each other. This patch factors out the common parts of the routines into a new routine, fragment_add_seq_key().

03_reassemble_partial_reassembly.patch
---------------------------------------
This makes fragment_set_partial_reassembly() work for datagrams assembled with fragment_add_seq(). The patch itself is actually quite small, but it adds another unit test which is reasonably lengthy.

svn path=/trunk/; revision=20888
epan/reassemble.c
epan/reassemble.h
epan/reassemble_test.c [new file with mode: 0644]