GNUnet 0.22.2
CommunicatorMessageContext Struct Reference

Context from handle_incoming_msg(). More...

Collaboration diagram for CommunicatorMessageContext:
[legend]

Data Fields

struct CommunicatorMessageContextnext
 Kept in a DLL of struct VirtualLink if waiting for CORE flow control to unchoke. More...
 
struct CommunicatorMessageContextprev
 Kept in a DLL of struct VirtualLink if waiting for CORE flow control to unchoke. More...
 
struct TransportClienttc
 Which communicator provided us with the message. More...
 
struct GNUNET_TRANSPORT_IncomingMessage im
 Additional information for flow control and about the sender. More...
 
const struct GNUNET_MessageHeadermh
 The message to demultiplex. More...
 
uint16_t total_hops
 Number of hops the message has travelled (if DV-routed). More...
 
unsigned int continue_send
 Did we already call GNUNET_SERVICE_client_continue and send ACK to communicator? More...
 

Detailed Description

Context from handle_incoming_msg().

Closure for many message handlers below.

Definition at line 1204 of file gnunet-service-transport.c.

Field Documentation

◆ next

struct CommunicatorMessageContext* CommunicatorMessageContext::next

Kept in a DLL of struct VirtualLink if waiting for CORE flow control to unchoke.

Definition at line 1210 of file gnunet-service-transport.c.

◆ prev

struct CommunicatorMessageContext* CommunicatorMessageContext::prev

Kept in a DLL of struct VirtualLink if waiting for CORE flow control to unchoke.

Definition at line 1216 of file gnunet-service-transport.c.

◆ tc

struct TransportClient* CommunicatorMessageContext::tc

◆ im

◆ mh

const struct GNUNET_MessageHeader* CommunicatorMessageContext::mh

◆ total_hops

uint16_t CommunicatorMessageContext::total_hops

Number of hops the message has travelled (if DV-routed).

FIXME: make use of this in ACK handling!

Definition at line 1237 of file gnunet-service-transport.c.

Referenced by handle_dv_box(), and handle_validation_challenge().

◆ continue_send

unsigned int CommunicatorMessageContext::continue_send

Did we already call GNUNET_SERVICE_client_continue and send ACK to communicator?

Definition at line 1242 of file gnunet-service-transport.c.

Referenced by handle_client_recv_ok(), handle_raw_message(), and resume_communicators().


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