Entry for a peer in a bucket. More...
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 PeerInfo * | next |
Next peer entry (DLL) More... | |
struct PeerInfo * | prev |
Prev peer entry (DLL) More... | |
struct Target * | t_head |
Head of DLL of targets for this peer. More... | |
struct Target * | t_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... | |
Entry for a peer in a bucket.
Definition at line 271 of file gnunet-service-dht_neighbours.c.
struct GNUNET_PeerIdentity PeerInfo::id |
What is the identity of the peer?
Definition at line 276 of file gnunet-service-dht_neighbours.c.
Referenced by check_dht_p2p_hello(), GDS_NEIGHBOURS_handle_get(), GDS_NEIGHBOURS_handle_put(), GDS_NEIGHBOURS_handle_reply(), GDS_u_connect(), GDS_u_disconnect(), handle_dht_p2p_get(), handle_dht_p2p_hello(), handle_dht_p2p_put(), handle_dht_p2p_result(), and select_peer().
struct GNUNET_HashCode PeerInfo::phash |
Hash of id.
Definition at line 281 of file gnunet-service-dht_neighbours.c.
Referenced by add_known_to_bloom(), GDS_NEIGHBOURS_handle_get(), GDS_NEIGHBOURS_handle_put(), GDS_u_connect(), handle_dht_p2p_get(), handle_dht_p2p_put(), handle_find_local_hello(), and select_peer().
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().
struct PeerInfo* PeerInfo::next |
Next peer entry (DLL)
Definition at line 291 of file gnunet-service-dht_neighbours.c.
Referenced by GDS_am_closest_peer(), GDS_NEIGHBOURS_broadcast(), GDS_try_connect(), select_peer(), and update_hold().
struct PeerInfo* PeerInfo::prev |
Prev peer entry (DLL)
Definition at line 296 of file gnunet-service-dht_neighbours.c.
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().
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().
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().
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().
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().