GNUnet  0.11.x
Data Fields
UDP_FragmentationContext Struct Reference

Context to send fragmented messages. More...

Collaboration diagram for UDP_FragmentationContext:
[legend]

Data Fields

struct UDP_FragmentationContextnext
 Next in linked list. More...
 
struct UDP_FragmentationContextprev
 Previous in linked list. More...
 
struct Pluginplugin
 The plugin. More...
 
struct GNUNET_FRAGMENT_Contextfrag
 Handle for fragmentation. More...
 
struct GNUNET_ATS_Sessionsession
 The session this fragmentation context belongs to. More...
 
GNUNET_TRANSPORT_TransmitContinuation cont
 Function to call upon completion of the transmission. More...
 
void * cont_cls
 Closure for cont. More...
 
struct GNUNET_TIME_Absolute start_time
 Start time. More...
 
struct GNUNET_TIME_Absolute next_frag_time
 Transmission time for the next fragment. More...
 
struct GNUNET_TIME_Relative flow_delay_from_other_peer
 Desired delay for transmissions we received from other peer. More...
 
struct GNUNET_TIME_Absolute timeout
 Message timeout. More...
 
size_t payload_size
 Payload size of original unfragmented message. More...
 
size_t on_wire_size
 Bytes used to send all fragments on wire including UDP overhead. More...
 

Detailed Description

Context to send fragmented messages.

Definition at line 304 of file plugin_transport_udp.c.

Field Documentation

◆ next

struct UDP_FragmentationContext* UDP_FragmentationContext::next

Next in linked list.

Definition at line 309 of file plugin_transport_udp.c.

◆ prev

struct UDP_FragmentationContext* UDP_FragmentationContext::prev

Previous in linked list.

Definition at line 314 of file plugin_transport_udp.c.

◆ plugin

struct Plugin* UDP_FragmentationContext::plugin

The plugin.

Definition at line 319 of file plugin_transport_udp.c.

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

◆ frag

struct GNUNET_FRAGMENT_Context* UDP_FragmentationContext::frag

Handle for fragmentation.

Definition at line 324 of file plugin_transport_udp.c.

Referenced by fragmented_message_done(), free_session(), qc_fragment_sent(), read_process_ack(), and udp_plugin_send().

◆ session

struct GNUNET_ATS_Session* UDP_FragmentationContext::session

The session this fragmentation context belongs to.

Definition at line 329 of file plugin_transport_udp.c.

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

◆ cont

GNUNET_TRANSPORT_TransmitContinuation UDP_FragmentationContext::cont

Function to call upon completion of the transmission.

Definition at line 334 of file plugin_transport_udp.c.

Referenced by fragmented_message_done(), udp_disconnect_session(), and udp_plugin_send().

◆ cont_cls

void* UDP_FragmentationContext::cont_cls

Closure for cont.

Definition at line 339 of file plugin_transport_udp.c.

Referenced by fragmented_message_done(), udp_disconnect_session(), and udp_plugin_send().

◆ start_time

struct GNUNET_TIME_Absolute UDP_FragmentationContext::start_time

Start time.

Definition at line 344 of file plugin_transport_udp.c.

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

◆ next_frag_time

struct GNUNET_TIME_Absolute UDP_FragmentationContext::next_frag_time

Transmission time for the next fragment.

Incremented by the flow_delay_from_other_peer for each fragment when we setup the fragments.

Definition at line 351 of file plugin_transport_udp.c.

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

◆ flow_delay_from_other_peer

struct GNUNET_TIME_Relative UDP_FragmentationContext::flow_delay_from_other_peer

Desired delay for transmissions we received from other peer.

Adjusted to be per fragment (UDP_MTU), even though on the wire it was for "full messages".

Definition at line 358 of file plugin_transport_udp.c.

Referenced by enqueue_fragment(), and udp_plugin_send().

◆ timeout

struct GNUNET_TIME_Absolute UDP_FragmentationContext::timeout

Message timeout.

Definition at line 363 of file plugin_transport_udp.c.

Referenced by enqueue_fragment(), and udp_plugin_send().

◆ payload_size

size_t UDP_FragmentationContext::payload_size

Payload size of original unfragmented message.

Definition at line 368 of file plugin_transport_udp.c.

Referenced by fragmented_message_done(), udp_disconnect_session(), and udp_plugin_send().

◆ on_wire_size

size_t UDP_FragmentationContext::on_wire_size

Bytes used to send all fragments on wire including UDP overhead.

Definition at line 373 of file plugin_transport_udp.c.

Referenced by fragmented_message_done(), udp_disconnect_session(), udp_plugin_send(), and udp_select_send().


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