GNUnet 0.22.2
Peer Struct Reference

Record for neighbours and blacklisted peers. More...

Collaboration diagram for Peer:
[legend]

Data Fields

struct GNUNET_PeerIdentity pid
 Which peer is this entry about? More...
 
struct GNUNET_MQ_Handlemq
 Our handle for transmitting to this peer; NULL if peer is not connected. More...
 
struct GNUNET_MessageHeaderhello
 Pointer to the hello uri of this peer; can be NULL. More...
 
struct GNUNET_CONTAINER_BloomFilterfilter
 Bloom filter used to mark which peers already got the HELLO from this peer. More...
 
struct GNUNET_TIME_Absolute next_hello_allowed
 Next time we are allowed to transmit a HELLO to this peer? More...
 
struct GNUNET_TIME_Absolute filter_expiration
 When should we reset the bloom filter of this entry? More...
 
struct GNUNET_SCHEDULER_Taskhello_delay_task
 ID of task we use to wait for the time to send the next HELLO to this peer. More...
 
struct GNUNET_TRANSPORT_ApplicationSuggestHandleash
 Transport suggest handle. More...
 
uint32_t strength
 How much would we like to connect to this peer? More...
 

Detailed Description

Record for neighbours and blacklisted peers.

Definition at line 58 of file gnunet-daemon-topology.c.

Field Documentation

◆ pid

struct GNUNET_PeerIdentity Peer::pid

Which peer is this entry about?

Definition at line 63 of file gnunet-daemon-topology.c.

Referenced by attempt_connect(), find_advertisable_hello(), process_peer(), reschedule_hellos(), schedule_next_hello(), and setup_filter().

◆ mq

struct GNUNET_MQ_Handle* Peer::mq

Our handle for transmitting to this peer; NULL if peer is not connected.

Definition at line 69 of file gnunet-daemon-topology.c.

Referenced by attempt_connect(), connect_notify(), disconnect_notify(), free_peer(), process_peer(), reschedule_hellos(), and schedule_next_hello().

◆ hello

struct GNUNET_MessageHeader* Peer::hello

Pointer to the hello uri of this peer; can be NULL.

Definition at line 74 of file gnunet-daemon-topology.c.

Referenced by consider_for_advertising(), find_advertisable_hello(), free_peer(), make_peer(), process_peer(), and schedule_next_hello().

◆ filter

struct GNUNET_CONTAINER_BloomFilter* Peer::filter

Bloom filter used to mark which peers already got the HELLO from this peer.

Definition at line 80 of file gnunet-daemon-topology.c.

Referenced by consider_for_advertising(), find_advertisable_hello(), free_peer(), process_peer(), schedule_next_hello(), and setup_filter().

◆ next_hello_allowed

struct GNUNET_TIME_Absolute Peer::next_hello_allowed

Next time we are allowed to transmit a HELLO to this peer?

Definition at line 85 of file gnunet-daemon-topology.c.

Referenced by schedule_next_hello().

◆ filter_expiration

struct GNUNET_TIME_Absolute Peer::filter_expiration

When should we reset the bloom filter of this entry?

Definition at line 90 of file gnunet-daemon-topology.c.

Referenced by find_advertisable_hello(), and setup_filter().

◆ hello_delay_task

struct GNUNET_SCHEDULER_Task* Peer::hello_delay_task

ID of task we use to wait for the time to send the next HELLO to this peer.

Definition at line 96 of file gnunet-daemon-topology.c.

Referenced by disconnect_notify(), free_peer(), reschedule_hellos(), and schedule_next_hello().

◆ ash

Transport suggest handle.

Definition at line 101 of file gnunet-daemon-topology.c.

Referenced by attempt_connect(), and free_peer().

◆ strength

uint32_t Peer::strength

How much would we like to connect to this peer?

Definition at line 106 of file gnunet-daemon-topology.c.

Referenced by attempt_connect().


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