GNUnet 0.21.1
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 2511 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 2516 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 2521 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 2526 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 2531 of file gnunet-service-cadet_tunnels.c.

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

◆ path

◆ 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 2542 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 2547 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 2552 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: