GNUnet  0.20.0
FragmentMessage Struct Reference

Struct for messages that are being fragmented in a MAC's transmission queue. More...

Collaboration diagram for FragmentMessage:
[legend]

Data Fields

struct FragmentMessagenext
 This is a doubly-linked list. More...
 
struct FragmentMessageprev
 This is a doubly-linked list. More...
 
struct MacEndpointmacendpoint
 MAC endpoint this message belongs to. More...
 
struct GNUNET_FRAGMENT_Contextfragcontext
 Fragmentation context. More...
 
struct GNUNET_HELPER_SendHandlesh
 Transmission handle to helper (to cancel if the frag context is destroyed early for some reason). More...
 
struct GNUNET_PeerIdentity target
 Intended recipient. More...
 
struct GNUNET_TIME_Absolute timeout
 Timeout value for the message. More...
 
struct GNUNET_SCHEDULER_Tasktimeout_task
 Timeout task. More...
 
GNUNET_TRANSPORT_TransmitContinuation cont
 Continuation to call when we're done with this message. More...
 
struct GNUNET_MessageHeadermsg
 Message we need to fragment and transmit, NULL after the fragmentcontext has been created. More...
 
void * cont_cls
 Closure for cont. More...
 
size_t size_payload
 Size of original message. More...
 
size_t size_on_wire
 Number of bytes used to transmit message. More...
 

Detailed Description

Struct for messages that are being fragmented in a MAC's transmission queue.

Definition at line 299 of file plugin_transport_wlan.c.

Field Documentation

◆ next

struct FragmentMessage* FragmentMessage::next

This is a doubly-linked list.

Definition at line 304 of file plugin_transport_wlan.c.

Referenced by handle_helper_message(), and process_data().

◆ prev

struct FragmentMessage* FragmentMessage::prev

This is a doubly-linked list.

Definition at line 309 of file plugin_transport_wlan.c.

◆ macendpoint

struct MacEndpoint* FragmentMessage::macendpoint

MAC endpoint this message belongs to.

Definition at line 314 of file plugin_transport_wlan.c.

Referenced by free_fragment_message(), handle_helper_message(), send_with_fragmentation(), and transmit_fragment().

◆ fragcontext

struct GNUNET_FRAGMENT_Context* FragmentMessage::fragcontext

◆ sh

struct GNUNET_HELPER_SendHandle* FragmentMessage::sh

Transmission handle to helper (to cancel if the frag context is destroyed early for some reason).

Definition at line 325 of file plugin_transport_wlan.c.

Referenced by fragment_transmission_done(), free_fragment_message(), and transmit_fragment().

◆ target

struct GNUNET_PeerIdentity FragmentMessage::target

Intended recipient.

Definition at line 325 of file plugin_transport_wlan.c.

Referenced by fragmentmessage_timeout(), process_data(), and send_with_fragmentation().

◆ timeout

struct GNUNET_TIME_Absolute FragmentMessage::timeout

Timeout value for the message.

Definition at line 325 of file plugin_transport_wlan.c.

Referenced by send_with_fragmentation().

◆ timeout_task

struct GNUNET_SCHEDULER_Task* FragmentMessage::timeout_task

Timeout task.

Definition at line 340 of file plugin_transport_wlan.c.

Referenced by fragmentmessage_timeout(), free_fragment_message(), and send_with_fragmentation().

◆ cont

Continuation to call when we're done with this message.

Definition at line 345 of file plugin_transport_wlan.c.

Referenced by fragmentmessage_timeout(), process_data(), and send_with_fragmentation().

◆ msg

struct GNUNET_MessageHeader* FragmentMessage::msg

Message we need to fragment and transmit, NULL after the fragmentcontext has been created.

Definition at line 351 of file plugin_transport_wlan.c.

Referenced by free_fragment_message(), handle_helper_message(), and send_with_fragmentation().

◆ cont_cls

void* FragmentMessage::cont_cls

Closure for cont.

Definition at line 356 of file plugin_transport_wlan.c.

Referenced by fragmentmessage_timeout(), process_data(), and send_with_fragmentation().

◆ size_payload

size_t FragmentMessage::size_payload

Size of original message.

Definition at line 361 of file plugin_transport_wlan.c.

Referenced by fragmentmessage_timeout(), process_data(), and send_with_fragmentation().

◆ size_on_wire

size_t FragmentMessage::size_on_wire

Number of bytes used to transmit message.

Definition at line 366 of file plugin_transport_wlan.c.

Referenced by fragmentmessage_timeout(), process_data(), and transmit_fragment().


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