GNUnet  0.11.x
Data Fields
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...
 
uint16_t total_hops
 Number of hops the message has travelled (if DV-routed). More...
 

Detailed Description

Context from handle_incoming_msg().

Closure for many message handlers below.

Definition at line 1133 of file gnunet-service-tng.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 1139 of file gnunet-service-tng.c.

◆ prev

struct CommunicatorMessageContext* CommunicatorMessageContext::prev

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

Definition at line 1145 of file gnunet-service-tng.c.

◆ tc

struct TransportClient* CommunicatorMessageContext::tc

Which communicator provided us with the message.

Definition at line 1150 of file gnunet-service-tng.c.

Referenced by demultiplex_with_cmc(), finish_cmc_handling(), handle_dv_learn(), handle_fragment_box(), handle_incoming_msg(), and handle_raw_message().

◆ im

struct GNUNET_TRANSPORT_IncomingMessage CommunicatorMessageContext::im

◆ 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 1161 of file gnunet-service-tng.c.

Referenced by handle_dv_box(), and handle_validation_challenge().


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