GNUnet 0.21.1
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 1189 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 1195 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 1201 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 1222 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 1227 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: