GNUnet  0.11.x
Data Fields
UDP_MessageWrapper Struct Reference

Information we track for each message in the queue. More...

Collaboration diagram for UDP_MessageWrapper:
[legend]

Data Fields

struct GNUNET_ATS_Sessionsession
 Session this message belongs to. More...
 
struct UDP_MessageWrapperprev
 DLL of messages, previous element. More...
 
struct UDP_MessageWrappernext
 DLL of messages, next element. More...
 
char * msg_buf
 Message with msg_size bytes including UDP-specific overhead. More...
 
QueueContinuation qc
 Function to call once the message wrapper is being removed from the queue (with success or failure). More...
 
void * qc_cls
 Closure for qc. More...
 
GNUNET_TRANSPORT_TransmitContinuation cont
 External continuation to call upon completion of the transmission, NULL if this queue entry is not for a message from the application. More...
 
void * cont_cls
 Closure for cont. More...
 
struct UDP_FragmentationContextfrag_ctx
 Fragmentation context. More...
 
struct GNUNET_TIME_Absolute start_time
 Message enqueue time. More...
 
struct GNUNET_TIME_Absolute transmission_time
 Desired transmission time for this message, based on the flow limiting information we got from the other peer. More...
 
struct GNUNET_TIME_Absolute timeout
 Message timeout. More...
 
size_t msg_size
 Size of UDP message to send, including UDP-specific overhead. More...
 
size_t payload_size
 Payload size of original message. More...
 

Detailed Description

Information we track for each message in the queue.

Definition at line 395 of file plugin_transport_udp.c.

Field Documentation

◆ session

struct GNUNET_ATS_Session* UDP_MessageWrapper::session

◆ prev

struct UDP_MessageWrapper* UDP_MessageWrapper::prev

DLL of messages, previous element.

Definition at line 405 of file plugin_transport_udp.c.

◆ next

struct UDP_MessageWrapper* UDP_MessageWrapper::next

◆ msg_buf

char* UDP_MessageWrapper::msg_buf

Message with msg_size bytes including UDP-specific overhead.

Definition at line 415 of file plugin_transport_udp.c.

Referenced by ack_proc(), enqueue_fragment(), udp_plugin_send(), and udp_select_send().

◆ qc

QueueContinuation UDP_MessageWrapper::qc

Function to call once the message wrapper is being removed from the queue (with success or failure).

Definition at line 421 of file plugin_transport_udp.c.

Referenced by ack_proc(), enqueue_fragment(), libgnunet_plugin_transport_udp_done(), remove_timeout_messages_and_select(), udp_disconnect_session(), udp_plugin_send(), and udp_select_send().

◆ qc_cls

void* UDP_MessageWrapper::qc_cls

◆ cont

GNUNET_TRANSPORT_TransmitContinuation UDP_MessageWrapper::cont

External continuation to call upon completion of the transmission, NULL if this queue entry is not for a message from the application.

Definition at line 433 of file plugin_transport_udp.c.

Referenced by enqueue(), qc_message_sent(), and udp_plugin_send().

◆ cont_cls

void* UDP_MessageWrapper::cont_cls

Closure for cont.

Definition at line 438 of file plugin_transport_udp.c.

Referenced by enqueue(), qc_message_sent(), and udp_plugin_send().

◆ frag_ctx

struct UDP_FragmentationContext* UDP_MessageWrapper::frag_ctx

Fragmentation context.

frag_ctx == NULL if transport <= MTU frag_ctx != NULL if transport > MTU

Definition at line 445 of file plugin_transport_udp.c.

Referenced by enqueue_fragment(), fragmented_message_done(), qc_fragment_sent(), udp_plugin_send(), and udp_select_send().

◆ start_time

struct GNUNET_TIME_Absolute UDP_MessageWrapper::start_time

Message enqueue time.

Definition at line 450 of file plugin_transport_udp.c.

Referenced by ack_proc(), enqueue_fragment(), qc_message_sent(), and udp_plugin_send().

◆ transmission_time

struct GNUNET_TIME_Absolute UDP_MessageWrapper::transmission_time

Desired transmission time for this message, based on the flow limiting information we got from the other peer.

Definition at line 456 of file plugin_transport_udp.c.

Referenced by enqueue_fragment(), remove_timeout_messages_and_select(), schedule_select_v4(), schedule_select_v6(), and udp_plugin_send().

◆ timeout

struct GNUNET_TIME_Absolute UDP_MessageWrapper::timeout

Message timeout.

Definition at line 461 of file plugin_transport_udp.c.

Referenced by ack_proc(), enqueue_fragment(), remove_timeout_messages_and_select(), and udp_plugin_send().

◆ msg_size

size_t UDP_MessageWrapper::msg_size

Size of UDP message to send, including UDP-specific overhead.

Definition at line 466 of file plugin_transport_udp.c.

Referenced by ack_proc(), dequeue(), enqueue(), enqueue_fragment(), qc_fragment_sent(), qc_message_sent(), udp_plugin_send(), and udp_select_send().

◆ payload_size

size_t UDP_MessageWrapper::payload_size

Payload size of original message.

Definition at line 471 of file plugin_transport_udp.c.

Referenced by ack_proc(), enqueue_fragment(), qc_fragment_sent(), qc_message_sent(), remove_timeout_messages_and_select(), and udp_plugin_send().


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