aboutsummaryrefslogtreecommitdiffstats
path: root/reassemble.h
diff options
context:
space:
mode:
authorsahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>2003-04-09 09:04:08 +0000
committersahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>2003-04-09 09:04:08 +0000
commit1ad51854fc35aaf2ec925ae86246f11ad20c867a (patch)
treecb60540db960f6d666fec41a585a85cec1fc854e /reassemble.h
parentfeef50689b475dbfa47bba191fbda2e56c27cde6 (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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7427 f5534014-38df-0310-8fa8-9805f1628bb7
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;