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 GDS_am_closest_peer(), handle_find_peer(), and 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.

Referenced by GDS_NEIGHBOURS_handle_get(), GDS_NEIGHBOURS_handle_put(), GDS_NEIGHBOURS_handle_reply(), and handle_core_connect().

◆ id

const struct GNUNET_PeerIdentity* PeerInfo::id

◆ phash

struct GNUNET_HashCode PeerInfo::phash

◆ 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_connect(), and handle_core_disconnect().


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