GNUnet 0.22.2
PeerInfo Struct Reference

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

Collaboration diagram for PeerInfo:
[legend]

Data Fields

struct GNUNET_PeerIdentity id
 What is the identity of the peer? More...
 
struct GNUNET_HashCode phash
 Hash of id. More...
 
struct GNUNET_TIME_Absolute hello_expiration
 When does our HELLO from this peer expire? More...
 
struct PeerInfonext
 Next peer entry (DLL) More...
 
struct PeerInfoprev
 Prev peer entry (DLL) More...
 
struct Targett_head
 Head of DLL of targets for this peer. More...
 
struct Targett_tail
 Tail of DLL of targets for this peer. More...
 
void * hello
 Block with a HELLO of this peer. More...
 
size_t hello_size
 Number of bytes in hello. More...
 
int peer_bucket
 Which bucket is this peer in? More...
 

Detailed Description

Entry for a peer in a bucket.

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

Field Documentation

◆ id

◆ phash

◆ hello_expiration

struct GNUNET_TIME_Absolute PeerInfo::hello_expiration

When does our HELLO from this peer expire?

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

Referenced by handle_dht_p2p_hello(), and handle_find_local_hello().

◆ next

struct PeerInfo* PeerInfo::next

◆ prev

struct PeerInfo* PeerInfo::prev

Prev peer entry (DLL)

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

◆ t_head

struct Target* PeerInfo::t_head

Head of DLL of targets for this peer.

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

Referenced by do_send(), GDS_u_connect(), GDS_u_disconnect(), and send_done_cb().

◆ t_tail

struct Target* PeerInfo::t_tail

Tail of DLL of targets for this peer.

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

Referenced by do_send(), GDS_u_connect(), GDS_u_disconnect(), and send_done_cb().

◆ hello

void* PeerInfo::hello

Block with a HELLO of this peer.

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

Referenced by GDS_u_disconnect(), handle_dht_p2p_hello(), and handle_find_local_hello().

◆ hello_size

size_t PeerInfo::hello_size

Number of bytes in hello.

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

Referenced by handle_dht_p2p_hello(), and handle_find_local_hello().

◆ peer_bucket

int PeerInfo::peer_bucket

Which bucket is this peer in?

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

Referenced by GDS_u_connect(), and GDS_u_disconnect().


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