GNUnet  0.11.x
Data Fields
FragmentHeader Struct Reference

Header for a message fragment. More...

#include </home/buildbot/bb-worker/worker/gnunet/build/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 83 of file fragmentation.h.

◆ fragment_id

uint32_t FragmentHeader::fragment_id

Unique fragment ID.

Definition at line 46 of file fragmentation.h.

◆ total_size

uint16_t FragmentHeader::total_size

Total message size of the original message.

Definition at line 51 of file fragmentation.h.

◆ 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.


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