GNUnet 0.22.2
PeerEntry Struct Reference

Per-peer information. More...

Collaboration diagram for PeerEntry:
[legend]

Data Fields

struct GNUNET_PeerIdentity id
 The identifier itself. More...
 
GNUNET_PEER_Id pid
 Short version of the identifier; if the RC==0, then index of next free slot in table, otherwise equal to this slot in the table. More...
 
unsigned int rc
 Reference counter, 0 if this slot is not used. More...
 
struct GNUNET_MQ_Handlemq
 Queue for sending messages to this peer. More...
 
struct GNUNET_SCHEDULER_Tasktransmit_task
 Tasked used to trigger the set union operation. More...
 
struct GNUNET_SETU_OperationHandleso
 Handle to active set union operation (over revocation sets). More...
 

Detailed Description

Per-peer information.

Definition at line 33 of file peer.c.

Field Documentation

◆ id

struct GNUNET_PeerIdentity PeerEntry::id

The identifier itself.

What is the identity of the peer?

Definition at line 38 of file peer.c.

Referenced by add_revocation(), GNUNET_PEER_intern(), GNUNET_PEER_resolve(), GNUNET_PEER_resolve2(), new_peer_entry(), and transmit_task_cb().

◆ pid

GNUNET_PEER_Id PeerEntry::pid

Short version of the identifier; if the RC==0, then index of next free slot in table, otherwise equal to this slot in the table.

Definition at line 44 of file peer.c.

Referenced by GNUNET_PEER_change_rc(), GNUNET_PEER_decrement_rcs(), GNUNET_PEER_intern(), and GNUNET_PEER_search().

◆ rc

unsigned int PeerEntry::rc

Reference counter, 0 if this slot is not used.

Definition at line 49 of file peer.c.

Referenced by GNUNET_PEER_change_rc(), GNUNET_PEER_decrement_rcs(), GNUNET_PEER_intern(), GNUNET_PEER_resolve(), and GNUNET_PEER_search().

◆ mq

struct GNUNET_MQ_Handle* PeerEntry::mq

Queue for sending messages to this peer.

Definition at line 58 of file gnunet-service-revocation.c.

Referenced by do_flood(), and handle_core_connect().

◆ transmit_task

struct GNUNET_SCHEDULER_Task* PeerEntry::transmit_task

Tasked used to trigger the set union operation.

Definition at line 68 of file gnunet-service-revocation.c.

Referenced by handle_core_connect(), handle_core_disconnect(), and transmit_task_cb().

◆ so

struct GNUNET_SETU_OperationHandle* PeerEntry::so

Handle to active set union operation (over revocation sets).

Definition at line 73 of file gnunet-service-revocation.c.

Referenced by add_revocation(), handle_core_disconnect(), handle_revocation_union_request(), and transmit_task_cb().


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