GNUnet  0.11.x
Data Fields
FragmentHeader Struct Reference

Header for a message fragment. More...

#include </home/handbook/gnunet/src/fragmentation/fragmentation.h>

Collaboration diagram for FragmentHeader:
[legend]

Data Fields

struct GNUNET_MessageHeader header
 Message header. More...
 
uint32_t fragment_id
 Unique fragment ID. More...
 
uint16_t total_size
 Total message size of the original message. More...
 
uint16_t offset
 Absolute offset (in bytes) of this fragment in the original message. More...
 

Detailed Description

Header for a message fragment.

Followed by the original message.

Definition at line 36 of file fragmentation.h.

Field Documentation

◆ header

struct GNUNET_MessageHeader FragmentHeader::header

Message header.

Definition at line 41 of file fragmentation.h.

Referenced by transmit_next().

◆ fragment_id

uint32_t FragmentHeader::fragment_id

Unique fragment ID.

Definition at line 46 of file fragmentation.h.

Referenced by GNUNET_DEFRAGMENT_process_fragment(), and transmit_next().

◆ total_size

uint16_t FragmentHeader::total_size

Total message size of the original message.

Definition at line 51 of file fragmentation.h.

Referenced by GNUNET_DEFRAGMENT_process_fragment(), and transmit_next().

◆ offset

uint16_t FragmentHeader::offset

Absolute offset (in bytes) of this fragment in the original message.

Will be a multiple of the MTU.

Definition at line 57 of file fragmentation.h.

Referenced by GNUNET_DEFRAGMENT_process_fragment(), and transmit_next().


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