diff options
author | Guy Harris <guy@alum.mit.edu> | 2008-03-15 20:14:29 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2008-03-15 20:14:29 +0000 |
commit | 320c1117f60b6d777043d9e2ac01dcbcc1ca95cd (patch) | |
tree | 7ddb029f985a6da8abcf2b3507d4463ff87f83de /epan/reassemble.h | |
parent | fa42bcbd7b8dbc3ab017ce03f2ce530767060f90 (diff) | |
download | wireshark-320c1117f60b6d777043d9e2ac01dcbcc1ca95cd.tar.gz |
Add a comment.
svn path=/trunk/; revision=24642
Diffstat (limited to 'epan/reassemble.h')
-rw-r--r-- | epan/reassemble.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/epan/reassemble.h b/epan/reassemble.h index b9dcf55805..bef3f1612a 100644 --- a/epan/reassemble.h +++ b/epan/reassemble.h @@ -134,6 +134,14 @@ extern fragment_data *fragment_add_multiple_ok(tvbuff_t *tvb, int offset, packet_info *pinfo, guint32 id, GHashTable *fragment_table, guint32 frag_offset, guint32 frag_data_len, gboolean more_frags); +/* + * This routine extends fragment_add to use a "reassembled_table". + * + * If, after processing this fragment, we have all the fragments, they + * remove that from the fragment hash table if necessary and add it + * to the table of reassembled fragments, and return a pointer to the + * head of the fragment list. + */ extern fragment_data *fragment_add_check(tvbuff_t *tvb, int offset, packet_info *pinfo, guint32 id, GHashTable *fragment_table, GHashTable *reassembled_table, guint32 frag_offset, |