GNUnet  0.11.x
Data Fields
PeerEntry Struct Reference

Per-peer information. More...

Collaboration diagram for PeerEntry:
[legend]

Data Fields

struct GNUNET_MQ_Handlemq
 Queue for sending messages to this peer. More...
 
struct GNUNET_PeerIdentity id
 What is the identity of the peer? More...
 
struct GNUNET_SCHEDULER_Tasktransmit_task
 Tasked used to trigger the set union operation. More...
 
struct GNUNET_SET_OperationHandleso
 Handle to active set union operation (over revocation sets). 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...
 

Detailed Description

Per-peer information.

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

Field Documentation

◆ mq

struct GNUNET_MQ_Handle* PeerEntry::mq

Queue for sending messages to this peer.

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

Referenced by do_flood(), and handle_core_connect().

◆ id

struct GNUNET_PeerIdentity PeerEntry::id

◆ transmit_task

struct GNUNET_SCHEDULER_Task* PeerEntry::transmit_task

Tasked used to trigger the set union operation.

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

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

◆ so

struct GNUNET_SET_OperationHandle* PeerEntry::so

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

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

Referenced by add_revocation(), handle_core_disconnect(), handle_revocation_union_request(), 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 43 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 48 of file peer.c.

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


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