GNUnet 0.29.1-2-g89ecb1bfd
 
Loading...
Searching...
No Matches
CadetPeerPathEntry Struct Reference

Entry in a peer path. More...

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

Collaboration diagram for CadetPeerPathEntry:
[legend]

Data Fields

struct CadetPeerPathEntry * next
 DLL of paths where the same peer is at the same offset.
 
struct CadetPeerPathEntry * prev
 DLL of paths where the same peer is at the same offset.
 
struct CadetPeer * peer
 The peer at this offset of the path.
 
struct CadetPeerPath * path
 Path this entry belongs to.
 
struct CadetConnection * cc
 Connection using this path, or NULL for none.
 
int score
 Path's historic score up to this point.
 

Detailed Description

Entry in a peer path.

Definition at line 67 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 72 of file gnunet-service-cadet.h.

◆ prev

struct CadetPeerPathEntry* CadetPeerPathEntry::prev

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

Definition at line 77 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 92 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 101 of file gnunet-service-cadet.h.

Referenced by GCPP_update_score().


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