Defragmentation context (one per connection). More...
Data Fields | |
struct GNUNET_STATISTICS_Handle * | stats |
For statistics. More... | |
struct MessageContext * | head |
Head of list of messages we're defragmenting. More... | |
struct MessageContext * | tail |
Tail of list of messages we're defragmenting. More... | |
void * | cls |
Closure for proc and ackp. More... | |
GNUNET_FRAGMENT_MessageProcessor | proc |
Function to call with defragmented messages. More... | |
GNUNET_DEFRAGMENT_AckProcessor | ackp |
Function to call with acknowledgements. More... | |
struct GNUNET_TIME_Relative | latency |
Running average of the latency (delay between messages) for this connection. More... | |
unsigned int | num_msgs |
num_msgs how many fragmented messages to we defragment at most at the same time? More... | |
unsigned int | list_size |
Current number of messages in the 'struct MessageContext' DLL (smaller or equal to 'num_msgs'). More... | |
uint16_t | mtu |
Maximum message size for each fragment. More... | |
Defragmentation context (one per connection).
Definition at line 137 of file defragmentation.c.
struct GNUNET_STATISTICS_Handle* GNUNET_DEFRAGMENT_Context::stats |
For statistics.
Definition at line 142 of file defragmentation.c.
struct MessageContext* GNUNET_DEFRAGMENT_Context::head |
Head of list of messages we're defragmenting.
Definition at line 147 of file defragmentation.c.
struct MessageContext* GNUNET_DEFRAGMENT_Context::tail |
Tail of list of messages we're defragmenting.
Definition at line 152 of file defragmentation.c.
void* GNUNET_DEFRAGMENT_Context::cls |
Closure for proc and ackp.
Definition at line 157 of file defragmentation.c.
Referenced by GNUNET_DEFRAGMENT_context_create().
GNUNET_FRAGMENT_MessageProcessor GNUNET_DEFRAGMENT_Context::proc |
Function to call with defragmented messages.
Definition at line 162 of file defragmentation.c.
Referenced by GNUNET_DEFRAGMENT_context_create(), and gnunet_pyexpect.pexpect::spawn().
GNUNET_DEFRAGMENT_AckProcessor GNUNET_DEFRAGMENT_Context::ackp |
Function to call with acknowledgements.
Definition at line 167 of file defragmentation.c.
Referenced by GNUNET_DEFRAGMENT_context_create().
struct GNUNET_TIME_Relative GNUNET_DEFRAGMENT_Context::latency |
Running average of the latency (delay between messages) for this connection.
Definition at line 167 of file defragmentation.c.
unsigned int GNUNET_DEFRAGMENT_Context::num_msgs |
num_msgs how many fragmented messages to we defragment at most at the same time?
Definition at line 179 of file defragmentation.c.
Referenced by GNUNET_DEFRAGMENT_context_create().
unsigned int GNUNET_DEFRAGMENT_Context::list_size |
Current number of messages in the 'struct MessageContext' DLL (smaller or equal to 'num_msgs').
Definition at line 185 of file defragmentation.c.
uint16_t GNUNET_DEFRAGMENT_Context::mtu |
Maximum message size for each fragment.
Definition at line 190 of file defragmentation.c.
Referenced by GNUNET_DEFRAGMENT_context_create().