GNUnet 0.28.0-dev.5-89-ga1e177ed4
 
Loading...
Searching...
No Matches
GNUNET_TRANSPORT_LinkListResponse Struct Reference

State of one virtual link. More...

#include </home/buildbot/bb-worker/worker/gnunet_release/build/src/service/transport/transport.h>

Collaboration diagram for GNUNET_TRANSPORT_LinkListResponse:
[legend]

Data Fields

struct GNUNET_MessageHeader header
 Type will be GNUNET_MESSAGE_TYPE_TRANSPORT_LINK_LIST_RESPONSE.
 
struct GNUNET_PeerIdentity target
 Peer at the other end of the link.
 
uint32_t confirmed
 GNUNET_YES if the link is confirmed, i.e.
 
uint32_t route
 An ‘enum GNUNET_TRANSPORT_LinkRoute’ in NBO.
 
uint32_t distance
 Distance of the DV path, 0 if route is GNUNET_TRANSPORT_LINK_ROUTE_DIRECT.
 
uint32_t num_queues
 Number of queues to the neighbour, 0 if route is GNUNET_TRANSPORT_LINK_ROUTE_DV.
 
int32_t core_recv_window
 How many more messages we may hand to CORE before it must acknowledge them.
 
uint32_t stalled
 Number of messages whose flow control ACK we are withholding because core_recv_window is exhausted.
 
uint32_t pending
 Number of messages queued for transmission to target.
 
uint32_t fc_retransmit_count
 Number of flow control retransmissions of the running task.
 
uint64_t available_fc_window_size
 RAM we are willing to spend on this link.
 
uint64_t incoming_fc_window_size_ram
 RAM currently held for this link.
 
uint64_t incoming_fc_window_size
 Window we last granted the other peer.
 
uint64_t incoming_fc_window_size_used
 How much of incoming_fc_window_size the other peer used.
 
int64_t incoming_fc_window_size_loss
 Current estimate of the message loss rate for the sender.
 
uint64_t outbound_fc_window_size
 Window the other peer granted us.
 
uint64_t outbound_fc_window_size_used
 How much of outbound_fc_window_size we used.
 
struct GNUNET_TIME_RelativeNBO last_fc_rtt
 RTT of the last flow control exchange.
 
struct GNUNET_TIME_RelativeNBO other_rtt
 RTT over all DV paths, as calculated by the target.
 
struct GNUNET_TIME_AbsoluteNBO last_fc_transmission
 When did we last send a flow control message?
 

Detailed Description

State of one virtual link.

Definition at line 804 of file transport.h.

Field Documentation

◆ header

struct GNUNET_MessageHeader GNUNET_TRANSPORT_LinkListResponse::header

Type will be GNUNET_MESSAGE_TYPE_TRANSPORT_LINK_LIST_RESPONSE.

Definition at line 809 of file transport.h.

Referenced by check_link_list_response().

◆ target

struct GNUNET_PeerIdentity GNUNET_TRANSPORT_LinkListResponse::target

Peer at the other end of the link.

Definition at line 814 of file transport.h.

Referenced by handle_link_list_response(), and report_link().

◆ confirmed

uint32_t GNUNET_TRANSPORT_LinkListResponse::confirmed

GNUNET_YES if the link is confirmed, i.e.

established.

Definition at line 819 of file transport.h.

Referenced by handle_link_list_response(), and report_link().

◆ route

uint32_t GNUNET_TRANSPORT_LinkListResponse::route

An ‘enum GNUNET_TRANSPORT_LinkRoute’ in NBO.

Definition at line 824 of file transport.h.

Referenced by handle_link_list_response(), and report_link().

◆ distance

uint32_t GNUNET_TRANSPORT_LinkListResponse::distance

Distance of the DV path, 0 if route is GNUNET_TRANSPORT_LINK_ROUTE_DIRECT.

Definition at line 830 of file transport.h.

Referenced by handle_link_list_response(), and report_link().

◆ num_queues

uint32_t GNUNET_TRANSPORT_LinkListResponse::num_queues

Number of queues to the neighbour, 0 if route is GNUNET_TRANSPORT_LINK_ROUTE_DV.

Definition at line 836 of file transport.h.

Referenced by handle_link_list_response(), and report_link().

◆ core_recv_window

int32_t GNUNET_TRANSPORT_LinkListResponse::core_recv_window

How many more messages we may hand to CORE before it must acknowledge them.

SIGNED, and at or below zero exactly when we are withholding flow control credit from the communicators.

Definition at line 843 of file transport.h.

Referenced by handle_link_list_response(), and report_link().

◆ stalled

uint32_t GNUNET_TRANSPORT_LinkListResponse::stalled

Number of messages whose flow control ACK we are withholding because core_recv_window is exhausted.

Definition at line 849 of file transport.h.

Referenced by handle_link_list_response(), and report_link().

◆ pending

uint32_t GNUNET_TRANSPORT_LinkListResponse::pending

Number of messages queued for transmission to target.

Definition at line 854 of file transport.h.

Referenced by handle_link_list_response(), and report_link().

◆ fc_retransmit_count

uint32_t GNUNET_TRANSPORT_LinkListResponse::fc_retransmit_count

Number of flow control retransmissions of the running task.

Definition at line 859 of file transport.h.

Referenced by handle_link_list_response(), and report_link().

◆ available_fc_window_size

uint64_t GNUNET_TRANSPORT_LinkListResponse::available_fc_window_size

RAM we are willing to spend on this link.

Definition at line 864 of file transport.h.

Referenced by handle_link_list_response(), and report_link().

◆ incoming_fc_window_size_ram

uint64_t GNUNET_TRANSPORT_LinkListResponse::incoming_fc_window_size_ram

RAM currently held for this link.

Definition at line 869 of file transport.h.

Referenced by handle_link_list_response(), and report_link().

◆ incoming_fc_window_size

uint64_t GNUNET_TRANSPORT_LinkListResponse::incoming_fc_window_size

Window we last granted the other peer.

Definition at line 874 of file transport.h.

Referenced by handle_link_list_response(), and report_link().

◆ incoming_fc_window_size_used

uint64_t GNUNET_TRANSPORT_LinkListResponse::incoming_fc_window_size_used

How much of incoming_fc_window_size the other peer used.

Definition at line 879 of file transport.h.

Referenced by handle_link_list_response(), and report_link().

◆ incoming_fc_window_size_loss

int64_t GNUNET_TRANSPORT_LinkListResponse::incoming_fc_window_size_loss

Current estimate of the message loss rate for the sender.

SIGNED, may be negative on out-of-order delivery.

Definition at line 885 of file transport.h.

Referenced by handle_link_list_response(), and report_link().

◆ outbound_fc_window_size

uint64_t GNUNET_TRANSPORT_LinkListResponse::outbound_fc_window_size

Window the other peer granted us.

Definition at line 890 of file transport.h.

Referenced by handle_link_list_response(), and report_link().

◆ outbound_fc_window_size_used

uint64_t GNUNET_TRANSPORT_LinkListResponse::outbound_fc_window_size_used

How much of outbound_fc_window_size we used.

Definition at line 895 of file transport.h.

Referenced by handle_link_list_response(), and report_link().

◆ last_fc_rtt

struct GNUNET_TIME_RelativeNBO GNUNET_TRANSPORT_LinkListResponse::last_fc_rtt

RTT of the last flow control exchange.

Definition at line 900 of file transport.h.

Referenced by handle_link_list_response(), and report_link().

◆ other_rtt

struct GNUNET_TIME_RelativeNBO GNUNET_TRANSPORT_LinkListResponse::other_rtt

RTT over all DV paths, as calculated by the target.

Definition at line 905 of file transport.h.

Referenced by handle_link_list_response(), and report_link().

◆ last_fc_transmission

struct GNUNET_TIME_AbsoluteNBO GNUNET_TRANSPORT_LinkListResponse::last_fc_transmission

When did we last send a flow control message?

Definition at line 910 of file transport.h.

Referenced by handle_link_list_response(), and report_link().


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