GNUnet  0.11.x
Data Fields
EvaluationSummary Struct Reference

Closure for evaluate_connection. More...

Collaboration diagram for EvaluationSummary:
[legend]

Data Fields

unsigned int min_length
 Minimum length of any of our connections, UINT_MAX if we have none. More...
 
unsigned int max_length
 Maximum length of any of our connections, 0 if we have none. More...
 
GNUNET_CONTAINER_HeapCostType min_desire
 Minimum desirability of any of our connections, UINT64_MAX if we have none. More...
 
GNUNET_CONTAINER_HeapCostType max_desire
 Maximum desirability of any of our connections, 0 if we have none. More...
 
struct CadetPeerPathpath
 Path we are comparing against for evaluate_connection, can be NULL. More...
 
struct CadetTConnectionworst
 Connection deemed the "worst" so far encountered by evaluate_connection, NULL if we did not yet encounter any connections. More...
 
double worst_score
 Numeric score of worst, only set if worst is non-NULL. More...
 
int duplicate
 Set to GNUNET_YES if we have a connection over path already. More...
 

Detailed Description

Closure for evaluate_connection.

Used to assemble summary information about the existing connections so we can evaluate a new path.

Definition at line 2530 of file gnunet-service-cadet_tunnels.c.

Field Documentation

◆ min_length

unsigned int EvaluationSummary::min_length

Minimum length of any of our connections, UINT_MAX if we have none.

Definition at line 2535 of file gnunet-service-cadet_tunnels.c.

Referenced by consider_path_cb(), evaluate_connection(), and maintain_connections_cb().

◆ max_length

unsigned int EvaluationSummary::max_length

Maximum length of any of our connections, 0 if we have none.

Definition at line 2540 of file gnunet-service-cadet_tunnels.c.

Referenced by consider_path_cb(), evaluate_connection(), and maintain_connections_cb().

◆ min_desire

GNUNET_CONTAINER_HeapCostType EvaluationSummary::min_desire

Minimum desirability of any of our connections, UINT64_MAX if we have none.

Definition at line 2545 of file gnunet-service-cadet_tunnels.c.

Referenced by consider_path_cb(), evaluate_connection(), and maintain_connections_cb().

◆ max_desire

GNUNET_CONTAINER_HeapCostType EvaluationSummary::max_desire

Maximum desirability of any of our connections, 0 if we have none.

Definition at line 2550 of file gnunet-service-cadet_tunnels.c.

Referenced by consider_path_cb(), evaluate_connection(), and maintain_connections_cb().

◆ path

struct CadetPeerPath* EvaluationSummary::path

Path we are comparing against for evaluate_connection, can be NULL.

Definition at line 2555 of file gnunet-service-cadet_tunnels.c.

Referenced by consider_path_cb(), evaluate_connection(), and maintain_connections_cb().

◆ worst

struct CadetTConnection* EvaluationSummary::worst

Connection deemed the "worst" so far encountered by evaluate_connection, NULL if we did not yet encounter any connections.

Definition at line 2561 of file gnunet-service-cadet_tunnels.c.

Referenced by consider_path_cb(), evaluate_connection(), and maintain_connections_cb().

◆ worst_score

double EvaluationSummary::worst_score

Numeric score of worst, only set if worst is non-NULL.

Definition at line 2566 of file gnunet-service-cadet_tunnels.c.

Referenced by evaluate_connection().

◆ duplicate

int EvaluationSummary::duplicate

Set to GNUNET_YES if we have a connection over path already.

Definition at line 2571 of file gnunet-service-cadet_tunnels.c.

Referenced by consider_path_cb(), evaluate_connection(), and maintain_connections_cb().


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