GNUnet  0.11.x
Data Fields
PeerInfo Struct Reference

Entry for a peer in a bucket. More...

Collaboration diagram for PeerInfo:
[legend]

Data Fields

struct PeerInfonext
 Next peer entry (DLL) More...
 
struct PeerInfoprev
 Prev peer entry (DLL) More...
 
struct GNUNET_MQ_Handlemq
 Handle for sending messages to this peer. More...
 
const struct GNUNET_PeerIdentityid
 What is the identity of the peer? More...
 
struct GNUNET_HashCode phash
 Hash of id. More...
 
int peer_bucket
 Which bucket is this peer in? More...
 

Detailed Description

Entry for a peer in a bucket.

Definition at line 266 of file gnunet-service-dht_neighbours.c.

Field Documentation

◆ next

struct PeerInfo* PeerInfo::next

Next peer entry (DLL)

Definition at line 271 of file gnunet-service-dht_neighbours.c.

Referenced by select_peer().

◆ prev

struct PeerInfo* PeerInfo::prev

Prev peer entry (DLL)

Definition at line 276 of file gnunet-service-dht_neighbours.c.

◆ mq

struct GNUNET_MQ_Handle* PeerInfo::mq

Handle for sending messages to this peer.

Definition at line 281 of file gnunet-service-dht_neighbours.c.

◆ id

const struct GNUNET_PeerIdentity* PeerInfo::id

What is the identity of the peer?

Definition at line 286 of file gnunet-service-dht_neighbours.c.

Referenced by select_peer(), and gnunet_testing.Peer::start().

◆ phash

struct GNUNET_HashCode PeerInfo::phash

Hash of id.

Definition at line 286 of file gnunet-service-dht_neighbours.c.

Referenced by GDS_NEIGHBOURS_handle_get(), and select_peer().

◆ peer_bucket

int PeerInfo::peer_bucket

Which bucket is this peer in?

Definition at line 296 of file gnunet-service-dht_neighbours.c.

Referenced by handle_core_disconnect().


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