aboutsummaryrefslogtreecommitdiffstats
path: root/reassemble.h
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2003-04-09 09:04:08 +0000
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2003-04-09 09:04:08 +0000
commit90a6dc4ea01c78b290a47d75285858b65abdf3fb (patch)
treecb60540db960f6d666fec41a585a85cec1fc854e /reassemble.h
parent9be967086f1d4ceee7fd9b8fb01a16fb75be4485 (diff)
Added new field reassembled_in to the fragment data structure.
This field gets set to the frame number when this pdu was first completely reassembled. This is useful since it will allow us to do reassembly properly in say packet-ip.c instead of printing the full pdu for every fragment and thus making NFSoverUDP rpc-rtt statistics less than useful. A dissector using fragment_add() can tehn choose to only dissect the reassembled PDU only for the frame where it was first reassembled. svn path=/trunk/; revision=7427
Diffstat (limited to 'reassemble.h')
-rw-r--r--reassemble.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/reassemble.h b/reassemble.h
index f1276f0d10..38301ef732 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.13 2002/12/19 11:22:38 sahlberg Exp $
+ * $Id: reassemble.h,v 1.14 2003/04/09 09:04:08 sahlberg Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -57,6 +57,9 @@ typedef struct _fragment_data {
guint32 offset;
guint32 len;
guint32 datalen; /*Only valid in first item of list */
+ guint32 reassembled_in; /* frame where this PDU was reassembled,
+ only valid in the first item of the list
+ and when FD_DEFRAGMENTED is set*/
guint32 flags;
unsigned char *data;
} fragment_data;