GNUnet 0.22.2
TransportFragmentBoxMessage Struct Reference

Outer layer of an encapsulated fragmented application message. More...

Collaboration diagram for TransportFragmentBoxMessage:
[legend]

Data Fields

struct GNUNET_MessageHeader header
 Type is GNUNET_MESSAGE_TYPE_TRANSPORT_FRAGMENT. More...
 
uint16_t frag_off
 Offset of this fragment in the overall message. More...
 
uint16_t msg_size
 Total size of the message that is being fragmented. More...
 
struct AcknowledgementUUIDP ack_uuid
 Unique ID of this fragment (and fragment transmission!). More...
 
struct MessageUUIDP msg_uuid
 Original message ID for of the message that all the fragments belong to. More...
 

Detailed Description

Outer layer of an encapsulated fragmented application message.

Definition at line 527 of file gnunet-service-transport.c.

Field Documentation

◆ header

struct GNUNET_MessageHeader TransportFragmentBoxMessage::header

◆ frag_off

uint16_t TransportFragmentBoxMessage::frag_off

Offset of this fragment in the overall message.

Definition at line 537 of file gnunet-service-transport.c.

Referenced by check_fragment_box(), fragment_message(), and handle_fragment_box().

◆ msg_size

uint16_t TransportFragmentBoxMessage::msg_size

Total size of the message that is being fragmented.

Definition at line 542 of file gnunet-service-transport.c.

Referenced by check_fragment_box(), fragment_message(), and handle_fragment_box().

◆ ack_uuid

struct AcknowledgementUUIDP TransportFragmentBoxMessage::ack_uuid

Unique ID of this fragment (and fragment transmission!).

Will change even if a fragment is retransmitted to make each transmission attempt unique! If a client receives a duplicate fragment (same frag_off for same msg_uuid, it must send GNUNET_MESSAGE_TYPE_TRANSPORT_RELIABILITY_ACK immediately.

Definition at line 551 of file gnunet-service-transport.c.

Referenced by fragment_message(), and handle_fragment_box().

◆ msg_uuid

struct MessageUUIDP TransportFragmentBoxMessage::msg_uuid

Original message ID for of the message that all the fragments belong to.

Must be the same for all fragments.

Definition at line 557 of file gnunet-service-transport.c.

Referenced by fragment_message(), and handle_fragment_box().


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