GNUnet 0.29.1-2-g89ecb1bfd
 
Loading...
Searching...
No Matches
CadetConnection Struct Reference

Low-level connection to a destination. More...

Collaboration diagram for CadetConnection:
[legend]

Data Fields

struct GNUNET_CADET_ConnectionTunnelIdentifier cid
 ID of the connection.
 
struct CadetPeer * destination
 To which peer does this connection go?
 
struct CadetTConnection * ct
 Which tunnel is using this connection?
 
struct CadetPeerPath * path
 Path we are using to our destination.
 
struct GNUNET_MQ_Envelope * env
 Pending message, NULL if we are ready to transmit.
 
struct GCP_MessageQueueManager * mq_man
 Handle for calling GCP_request_mq_cancel() once we are finished.
 
struct GNUNET_SCHEDULER_Task * task
 Task for connection maintenance.
 
struct GNUNET_TIME_Absolute monotime
 Latest monotonic timestamp to be signed.
 
struct GNUNET_PILS_Operation * sign_op
 Operation for signature handling.
 
struct CadetTunnelQueueEntry * keepalive_qe
 Queue entry for keepalive messages.
 
GCC_ReadyCallback ready_cb
 Function to call once we are ready to transmit.
 
void * ready_cb_cls
 Closure for ready_cb.
 
struct GNUNET_TIME_Relative retry_delay
 How long do we wait before we try again with a CREATE message?
 
struct GNUNET_TIME_Absolute create_at
 Earliest time for re-trying CREATE.
 
struct GNUNET_TIME_Absolute create_ack_at
 Earliest time for re-trying CREATE_ACK.
 
struct CadetConnectionMetrics metrics
 Performance metrics for this connection.
 
enum CadetConnectionState state
 State of the connection.
 
unsigned int latency_datapoints
 How many latency observations did we make for this connection?
 
unsigned int off
 Offset of our destination in path.
 
int mqm_ready
 Are we ready to transmit via mq_man right now?
 

Detailed Description

Low-level connection to a destination.

Definition at line 89 of file gnunet-service-cadet_connection.c.

Field Documentation

◆ cid

◆ destination

struct CadetPeer* CadetConnection::destination

To which peer does this connection go?

Definition at line 99 of file gnunet-service-cadet_connection.c.

Referenced by connection_create(), GCC_create_inbound(), GCC_debug(), and send_create().

◆ ct

◆ path

struct CadetPeerPath* CadetConnection::path

Path we are using to our destination.

Definition at line 109 of file gnunet-service-cadet_connection.c.

Referenced by connection_create(), cont_send_create(), GCC_create_inbound(), GCC_debug(), GCC_destroy(), and GCC_get_path().

◆ env

struct GNUNET_MQ_Envelope* CadetConnection::env

Pending message, NULL if we are ready to transmit.

Definition at line 114 of file gnunet-service-cadet_connection.c.

Referenced by cont_send_create(), and send_create_ack().

◆ mq_man

◆ task

◆ monotime

struct GNUNET_TIME_Absolute CadetConnection::monotime

Latest monotonic timestamp to be signed.

Definition at line 129 of file gnunet-service-cadet_connection.c.

Referenced by cont_send_create(), and send_create().

◆ sign_op

struct GNUNET_PILS_Operation* CadetConnection::sign_op

Operation for signature handling.

Definition at line 134 of file gnunet-service-cadet_connection.c.

Referenced by cont_send_create(), GCC_destroy(), and send_create().

◆ keepalive_qe

struct CadetTunnelQueueEntry* CadetConnection::keepalive_qe

◆ ready_cb

GCC_ReadyCallback CadetConnection::ready_cb

Function to call once we are ready to transmit.

Definition at line 144 of file gnunet-service-cadet_connection.c.

Referenced by connection_create(), GCC_create_inbound(), and update_state().

◆ ready_cb_cls

void* CadetConnection::ready_cb_cls

Closure for ready_cb.

Definition at line 149 of file gnunet-service-cadet_connection.c.

Referenced by connection_create(), GCC_create_inbound(), and update_state().

◆ retry_delay

struct GNUNET_TIME_Relative CadetConnection::retry_delay

How long do we wait before we try again with a CREATE message?

Definition at line 154 of file gnunet-service-cadet_connection.c.

Referenced by connection_create(), cont_send_create(), manage_first_hop_mq(), and send_create_ack().

◆ create_at

struct GNUNET_TIME_Absolute CadetConnection::create_at

Earliest time for re-trying CREATE.

Definition at line 159 of file gnunet-service-cadet_connection.c.

Referenced by cont_send_create(), and manage_first_hop_mq().

◆ create_ack_at

struct GNUNET_TIME_Absolute CadetConnection::create_ack_at

Earliest time for re-trying CREATE_ACK.

Definition at line 164 of file gnunet-service-cadet_connection.c.

Referenced by GCC_handle_duplicate_create(), manage_first_hop_mq(), and send_create_ack().

◆ metrics

◆ state

◆ latency_datapoints

unsigned int CadetConnection::latency_datapoints

How many latency observations did we make for this connection?

Definition at line 179 of file gnunet-service-cadet_connection.c.

Referenced by GCC_latency_observed().

◆ off

◆ mqm_ready


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