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 non-NULL. 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 2511 of file gnunet-service-cadet_tunnels.c.
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().
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().
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().
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().
struct CadetPeerPath* EvaluationSummary::path |
Path we are comparing against for evaluate_connection, can be NULL.
Definition at line 2536 of file gnunet-service-cadet_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 2542 of file gnunet-service-cadet_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 non-NULL.
Definition at line 2547 of file gnunet-service-cadet_tunnels.c.
Referenced by evaluate_connection().
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().