diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-04-17 04:54:30 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-04-17 04:54:30 +0000 |
commit | f5880dd3bdf2256d5acec9145c8ae6e8b2bffcd6 (patch) | |
tree | f0f6c9fcd00d8ac84c13acab7d1cce6a7b861384 /reassemble.h | |
parent | 7ac653c0b4635e531d9e2fd390e1ee2ea8bd4063 (diff) |
Rename the "frag_offset" argument of "fragment_add_seq()" to
"frag_number", to make it clearer that it's not a byte offset but a
sequence number.
svn path=/trunk/; revision=5175
Diffstat (limited to 'reassemble.h')
-rw-r--r-- | reassemble.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/reassemble.h b/reassemble.h index 15f95195e9..522fc0abef 100644 --- a/reassemble.h +++ b/reassemble.h @@ -1,7 +1,7 @@ /* reassemble.h * Declarations of outines for {fragment,segment} reassembly * - * $Id: reassemble.h,v 1.4 2002/02/03 23:28:38 guy Exp $ + * $Id: reassemble.h,v 1.5 2002/04/17 04:54:30 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -86,10 +86,10 @@ fragment_data *fragment_add(tvbuff_t *tvb, int offset, packet_info *pinfo, guint32 id, GHashTable *fragment_table, guint32 frag_offset, guint32 frag_data_len, gboolean more_frags); -/* same as fragment_add() but this one assumes frag_offset is a block - sequence number. note that frag_offset is 0 for the first fragment. */ +/* same as fragment_add() but this one assumes frag_number is a block + sequence number. note that frag_number is 0 for the first fragment. */ fragment_data *fragment_add_seq(tvbuff_t *tvb, int offset, packet_info *pinfo, - guint32 id, GHashTable *fragment_table, guint32 frag_offset, + guint32 id, GHashTable *fragment_table, guint32 frag_number, guint32 frag_data_len, gboolean more_frags); /* to specify how much to reassemble, for fragmentation where last fragment can not be |