GNUnet 0.21.1
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 330 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 345 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 355 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 360 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 365 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 370 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 375 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 380 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: