![]() |
GNUnet
0.11.x
|
Information we track for each message in the queue. More...
Data Fields | |
struct GNUNET_ATS_Session * | session |
Session this message belongs to. More... | |
struct UDP_MessageWrapper * | prev |
DLL of messages, previous element. More... | |
struct UDP_MessageWrapper * | next |
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_FragmentationContext * | frag_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... | |
Information we track for each message in the queue.
Definition at line 395 of file plugin_transport_udp.c.
struct GNUNET_ATS_Session* UDP_MessageWrapper::session |
Session this message belongs to.
Definition at line 400 of file plugin_transport_udp.c.
Referenced by ack_proc(), dequeue(), enqueue(), enqueue_fragment(), qc_fragment_sent(), qc_message_sent(), remove_timeout_messages_and_select(), schedule_select_v4(), schedule_select_v6(), udp_disconnect_session(), udp_plugin_send(), and udp_select_send().
struct UDP_MessageWrapper* UDP_MessageWrapper::prev |
DLL of messages, previous element.
Definition at line 405 of file plugin_transport_udp.c.
struct UDP_MessageWrapper* UDP_MessageWrapper::next |
DLL of messages, next element.
Definition at line 410 of file plugin_transport_udp.c.
Referenced by fragmented_message_done(), remove_timeout_messages_and_select(), schedule_select_v4(), schedule_select_v6(), and udp_disconnect_session().
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().
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().
void* UDP_MessageWrapper::qc_cls |
Closure for qc.
Definition at line 426 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().
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().
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().
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().
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().
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().
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().
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().
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().