Context from handle_incoming_msg(). More...
Data Fields | |
struct CommunicatorMessageContext * | next |
Kept in a DLL of struct VirtualLink if waiting for CORE flow control to unchoke. More... | |
struct CommunicatorMessageContext * | prev |
Kept in a DLL of struct VirtualLink if waiting for CORE flow control to unchoke. More... | |
struct TransportClient * | tc |
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_MessageHeader * | mh |
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... | |
Context from handle_incoming_msg().
Closure for many message handlers below.
Definition at line 1204 of file gnunet-service-transport.c.
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.
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.
struct TransportClient* CommunicatorMessageContext::tc |
Which communicator provided us with the message.
Definition at line 1221 of file gnunet-service-transport.c.
Referenced by demultiplex_with_cmc(), finish_cmc_handling_with_continue(), handle_dv_learn(), handle_fragment_box(), handle_incoming_msg(), and handle_raw_message().
struct GNUNET_TRANSPORT_IncomingMessage CommunicatorMessageContext::im |
Additional information for flow control and about the sender.
Definition at line 1226 of file gnunet-service-transport.c.
Referenced by finish_cmc_handling_with_continue(), finish_handling_raw_message(), handle_backchannel_encapsulation(), handle_dv_box(), handle_dv_learn(), handle_flow_control(), handle_fragment_box(), handle_incoming_msg(), handle_raw_message(), handle_reliability_ack(), handle_reliability_box(), handle_validation_challenge(), and handle_validation_response().
const struct GNUNET_MessageHeader* CommunicatorMessageContext::mh |
The message to demultiplex.
Definition at line 1231 of file gnunet-service-transport.c.
Referenced by backtalker_monotime_cb(), demultiplex_with_cmc(), handle_dv_box(), handle_fragment_box(), handle_incoming_msg(), handle_raw_message(), and handle_reliability_box().
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().
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().