GNUnet  0.11.x
Data Fields
MessageQueue Struct Reference

For each neighbour we keep a list of messages that we still want to transmit to the neighbour. More...

Collaboration diagram for MessageQueue:
[legend]

Data Fields

struct MessageQueuenext
 This is a doubly linked list. More...
 
struct MessageQueueprev
 This is a doubly linked list. More...
 
GST_NeighbourSendContinuation cont
 Function to call once we're done. More...
 
void * cont_cls
 Closure for cont. More...
 
const char * message_buf
 The message(s) we want to transmit, GNUNET_MessageHeader(s) stuck together in memory. More...
 
size_t message_buf_size
 Size of the message buf. More...
 
struct GNUNET_TIME_Absolute timeout
 At what time should we fail? More...
 

Detailed Description

For each neighbour we keep a list of messages that we still want to transmit to the neighbour.

Definition at line 235 of file gnunet-service-transport_neighbours.c.

Field Documentation

◆ next

struct MessageQueue* MessageQueue::next

This is a doubly linked list.

Definition at line 240 of file gnunet-service-transport_neighbours.c.

◆ prev

struct MessageQueue* MessageQueue::prev

This is a doubly linked list.

Definition at line 245 of file gnunet-service-transport_neighbours.c.

◆ cont

GST_NeighbourSendContinuation MessageQueue::cont

Function to call once we're done.

Definition at line 250 of file gnunet-service-transport_neighbours.c.

Referenced by free_neighbour(), GST_neighbours_send(), and transmit_send_continuation().

◆ cont_cls

void* MessageQueue::cont_cls

Closure for cont.

Definition at line 255 of file gnunet-service-transport_neighbours.c.

Referenced by free_neighbour(), GST_neighbours_send(), and transmit_send_continuation().

◆ message_buf

const char* MessageQueue::message_buf

The message(s) we want to transmit, GNUNET_MessageHeader(s) stuck together in memory.

Allocated at the end of this struct.

Definition at line 261 of file gnunet-service-transport_neighbours.c.

Referenced by GST_neighbours_send(), transmit_send_continuation(), and try_transmission_to_peer().

◆ message_buf_size

size_t MessageQueue::message_buf_size

◆ timeout

struct GNUNET_TIME_Absolute MessageQueue::timeout

At what time should we fail?

Definition at line 271 of file gnunet-service-transport_neighbours.c.

Referenced by GST_neighbours_send(), and try_transmission_to_peer().


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