GNUnet
0.11.x

Closure for evaluate_connection. More...
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 CadetPeerPath *  path 
Path we are comparing against for evaluate_connection, can be NULL. More...  
struct CadetTConnection *  worst 
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 nonNULL. More...  
int  duplicate 
Set to GNUNET_YES if we have a connection over path already. More...  
Closure for evaluate_connection.
Used to assemble summary information about the existing connections so we can evaluate a new path.
Definition at line 2522 of file gnunetservicecadet_tunnels.c.
unsigned int EvaluationSummary::min_length 
Minimum length of any of our connections, UINT_MAX
if we have none.
Definition at line 2527 of file gnunetservicecadet_tunnels.c.
Referenced by consider_path_cb(), evaluate_connection(), and maintain_connections_cb().
unsigned int EvaluationSummary::max_length 
Maximum length of any of our connections, 0 if we have none.
Definition at line 2532 of file gnunetservicecadet_tunnels.c.
Referenced by consider_path_cb(), evaluate_connection(), and maintain_connections_cb().
GNUNET_CONTAINER_HeapCostType EvaluationSummary::min_desire 
Minimum desirability of any of our connections, UINT64_MAX if we have none.
Definition at line 2537 of file gnunetservicecadet_tunnels.c.
Referenced by consider_path_cb(), evaluate_connection(), and maintain_connections_cb().
GNUNET_CONTAINER_HeapCostType EvaluationSummary::max_desire 
Maximum desirability of any of our connections, 0 if we have none.
Definition at line 2542 of file gnunetservicecadet_tunnels.c.
Referenced by consider_path_cb(), evaluate_connection(), and maintain_connections_cb().
struct CadetPeerPath* EvaluationSummary::path 
Path we are comparing against for evaluate_connection, can be NULL.
Definition at line 2547 of file gnunetservicecadet_tunnels.c.
Referenced by consider_path_cb(), evaluate_connection(), and maintain_connections_cb().
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 2553 of file gnunetservicecadet_tunnels.c.
Referenced by consider_path_cb(), evaluate_connection(), and maintain_connections_cb().
double EvaluationSummary::worst_score 
Numeric score of worst, only set if worst is nonNULL.
Definition at line 2558 of file gnunetservicecadet_tunnels.c.
Referenced by evaluate_connection().
int EvaluationSummary::duplicate 
Set to GNUNET_YES if we have a connection over path already.
Definition at line 2563 of file gnunetservicecadet_tunnels.c.
Referenced by consider_path_cb(), evaluate_connection(), and maintain_connections_cb().