diff options
-rw-r--r-- | epan/reassemble.h | 45 |
1 files changed, 22 insertions, 23 deletions
diff --git a/epan/reassemble.h b/epan/reassemble.h index 51a200e3b6..aaa280575b 100644 --- a/epan/reassemble.h +++ b/epan/reassemble.h @@ -63,29 +63,28 @@ typedef struct _fragment_item { struct _fragment_item *next; - guint32 frame; /* XXX - does this apply to reassembly heads? */ - guint32 offset; /* XXX - does this apply to reassembly heads? */ - guint32 len; /* XXX - does this apply to reassembly heads? */ - guint32 fragment_nr_offset; /**< offset for frame numbering, for sequences, where the - * provided fragment number of the first fragment does - * not start with 0 - * XXX - does this apply only to reassembly heads? */ - guint32 datalen; /**< When flags&FD_BLOCKSEQUENCE is set, the - index of the last block (segments in - datagram + 1); otherwise the number of - bytes of the full datagram. Only valid in - the first item of the fragments list when - flags&FD_DATALEN is set.*/ - guint32 reassembled_in; /**< frame where this PDU was reassembled, - only valid in the first item of the list - and when FD_DEFRAGMENTED is set*/ - guint8 reas_in_layer_num; /**< The current "depth" or layer number in the current frame where reassembly was completed. - * Example: in SCTP there can be several data chunks and we want the reassemblied tvb for the final - * segment only. - */ - guint32 flags; /**< XXX - do some of these apply only to reassembly - heads and others only to fragments within - a reassembly? */ + guint32 frame; /* XXX - does this apply to reassembly heads? */ + guint32 offset; /* XXX - does this apply to reassembly heads? */ + guint32 len; /* XXX - does this apply to reassembly heads? */ + guint32 fragment_nr_offset; /**< offset for frame numbering, for sequences, where the + * provided fragment number of the first fragment does + * not start with 0 + * XXX - does this apply only to reassembly heads? */ + guint32 datalen; /**< When flags&FD_BLOCKSEQUENCE is set, the + * index of the last block (segments in + * datagram + 1); otherwise the number of + * bytes of the full datagram. Only valid in + * the first item of the fragments list when + * flags&FD_DATALEN is set.*/ + guint32 reassembled_in; /**< frame where this PDU was reassembled, + * only valid in the first item of the list + * and when FD_DEFRAGMENTED is set*/ + guint8 reas_in_layer_num; /**< The current "depth" or layer number in the current frame where reassembly was completed. + * Example: in SCTP there can be several data chunks and we want the reassemblied tvb for the final + * segment only. */ + guint32 flags; /**< XXX - do some of these apply only to reassembly + * heads and others only to fragments within + * a reassembly? */ tvbuff_t *tvb_data; /** * Null if the reassembly had no error; non-null if it had |