GNUnet  0.11.x
Data Fields
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 498 of file gnunet-service-tng.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 508 of file gnunet-service-tng.c.

Referenced by 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 513 of file gnunet-service-tng.c.

Referenced by 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 fragement 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 522 of file gnunet-service-tng.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 528 of file gnunet-service-tng.c.

Referenced by fragment_message(), and handle_fragment_box().


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