Entry in a peer path. More...
#include </home/buildbot/bb-worker/worker/gnunet_firefly/build/src/service/cadet/gnunet-service-cadet.h>
Data Fields | |
struct CadetPeerPathEntry * | next |
DLL of paths where the same peer is at the same offset. More... | |
struct CadetPeerPathEntry * | prev |
DLL of paths where the same peer is at the same offset. More... | |
struct CadetPeer * | peer |
The peer at this offset of the path. More... | |
struct CadetPeerPath * | path |
Path this entry belongs to. More... | |
struct CadetConnection * | cc |
Connection using this path, or NULL for none. More... | |
int | score |
Path's historic score up to this point. More... | |
Entry in a peer path.
Definition at line 66 of file gnunet-service-cadet.h.
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().
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.
struct CadetPeer* CadetPeerPathEntry::peer |
The peer at this offset of the path.
Definition at line 81 of file gnunet-service-cadet.h.
Referenced by attach_path(), extend_path(), GCPP_get_connection(), GCPP_get_path_from_route(), GCPP_get_peer_at_offset(), GCPP_release(), GCPP_try_path_from_dht(), and recalculate_path_desirability().
struct CadetPeerPath* CadetPeerPathEntry::path |
Path this entry belongs to.
Definition at line 86 of file gnunet-service-cadet.h.
Referenced by typescriptdomain.MyPygmentsBridge::__init__(), attach_path(), extend_path(), GCP_path_entry_add(), GCP_path_entry_remove(), GCPP_add_connection(), GCPP_del_connection(), GCPP_find_peer(), GCPP_get_connection(), GCPP_get_length(), GCPP_get_path_from_route(), GCPP_release(), GCPP_try_path_from_dht(), GCPP_update_score(), and typescriptdomain.MyPygmentsBridge::highlight_block().
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().
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().