GNUnet 0.21.1
CadetPeerPathEntry Struct Reference

Entry in a peer path. More...

#include </home/buildbot/bb-worker/worker/gnunet_firefly/build/src/service/cadet/gnunet-service-cadet.h>

Collaboration diagram for CadetPeerPathEntry:
[legend]

Data Fields

struct CadetPeerPathEntrynext
 DLL of paths where the same peer is at the same offset. More...
 
struct CadetPeerPathEntryprev
 DLL of paths where the same peer is at the same offset. More...
 
struct CadetPeerpeer
 The peer at this offset of the path. More...
 
struct CadetPeerPathpath
 Path this entry belongs to. More...
 
struct CadetConnectioncc
 Connection using this path, or NULL for none. More...
 
int score
 Path's historic score up to this point. More...
 

Detailed Description

Entry in a peer path.

Definition at line 66 of file gnunet-service-cadet.h.

Field Documentation

◆ next

struct CadetPeerPathEntry* CadetPeerPathEntry::next

DLL of paths where the same peer is at the same offset.

Definition at line 71 of file gnunet-service-cadet.h.

Referenced by GCP_get_desirability_of_path(), GCP_iterate_indirect_paths(), GCP_iterate_paths(), and GCP_iterate_paths_at().

◆ prev

struct CadetPeerPathEntry* CadetPeerPathEntry::prev

DLL of paths where the same peer is at the same offset.

Definition at line 76 of file gnunet-service-cadet.h.

◆ peer

struct CadetPeer* CadetPeerPathEntry::peer

◆ path

◆ cc

struct CadetConnection* CadetPeerPathEntry::cc

Connection using this path, or NULL for none.

Definition at line 91 of file gnunet-service-cadet.h.

Referenced by attach_path(), GCPP_add_connection(), GCPP_del_connection(), GCPP_get_connection(), and GCPP_release().

◆ score

int CadetPeerPathEntry::score

Path's historic score up to this point.

Basically, how often did we succeed or fail to use the path up to this entry in a connection. Positive values indicate good experiences, negative values bad experiences. Code updating the score must guard against overflows.

Definition at line 100 of file gnunet-service-cadet.h.

Referenced by GCPP_update_score().


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