diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2002-04-17 04:54:30 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2002-04-17 04:54:30 +0000 |
commit | e8c69db885b63e707e91e31e340e1ce8497094da (patch) | |
tree | f0f6c9fcd00d8ac84c13acab7d1cce6a7b861384 /reassemble.c | |
parent | 6f09fb94095a4869f8ceecba20b65808311e1da1 (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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5175 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'reassemble.c')
-rw-r--r-- | reassemble.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/reassemble.c b/reassemble.c index 9d8175dbc2..8122fadb9e 100644 --- a/reassemble.c +++ b/reassemble.c @@ -1,7 +1,7 @@ /* reassemble.c * Routines for {fragment,segment} reassembly * - * $Id: reassemble.c,v 1.10 2002/03/31 21:05:47 guy Exp $ + * $Id: reassemble.c,v 1.11 2002/04/17 04:54:30 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -567,12 +567,12 @@ fragment_add(tvbuff_t *tvb, int offset, packet_info *pinfo, guint32 id, * Returns a pointer to the head of the fragment data list if we have all the * fragments, NULL otherwise. * - * This function assumes frag_offset being a block sequence number. - * the bsn for the first block is 0. + * This function assumes frag_number being a block sequence number. + * The bsn for the first block is 0. */ fragment_data * fragment_add_seq(tvbuff_t *tvb, int offset, packet_info *pinfo, guint32 id, - GHashTable *fragment_table, guint32 frag_offset, + GHashTable *fragment_table, guint32 frag_number, guint32 frag_data_len, gboolean more_frags) { fragment_key key, *new_key; @@ -632,7 +632,7 @@ fragment_add_seq(tvbuff_t *tvb, int offset, packet_info *pinfo, guint32 id, fd->next = NULL; fd->flags = 0; fd->frame = pinfo->fd->num; - fd->offset = frag_offset; + fd->offset = frag_number; fd->len = frag_data_len; fd->data = NULL; |