Wireshark  2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
Public Attributes | List of all members
_fragment_item Struct Reference

Public Attributes

struct _fragment_itemnext
 
guint32 frame
 
guint32 offset
 
guint32 len
 
guint32 fragment_nr_offset
 
guint32 datalen
 
guint32 reassembled_in
 
guint8 reas_in_layer_num
 
guint32 flags
 
tvbuff_ttvb_data
 
const char * error
 

Member Data Documentation

guint32 _fragment_item::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.

const char* _fragment_item::error

Null if the reassembly had no error; non-null if it had an error, in which case it's the string for the error.

XXX - this is wasted in all but the reassembly head; we should probably have separate data structures for a reassembly and for the fragments in a reassembly.

guint32 _fragment_item::flags

XXX - do some of these apply only to reassembly heads and others only to fragments within a reassembly?

guint32 _fragment_item::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?

guint8 _fragment_item::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 _fragment_item::reassembled_in

frame where this PDU was reassembled, only valid in the first item of the list and when FD_DEFRAGMENTED is set


The documentation for this struct was generated from the following file: