GNUnet 0.22.2
KeyEntry Struct Reference

The key entry is used to associate an ibf key with an element. More...

Collaboration diagram for KeyEntry:
[legend]

Data Fields

struct IBF_Key ibf_key
 IBF key for the entry, derived from the current salt. More...
 
struct ElementEntryelement
 The actual element associated with the key. More...
 
int received
 Did we receive this element? Even if element->is_foreign is false, we might have received the element, so this indicates that the other peer has it. More...
 

Detailed Description

The key entry is used to associate an ibf key with an element.

Definition at line 219 of file gnunet-service-set_union.c.

Field Documentation

◆ ibf_key

struct IBF_Key KeyEntry::ibf_key

IBF key for the entry, derived from the current salt.

Definition at line 224 of file gnunet-service-set_union.c.

Referenced by op_register_element(), prepare_ibf_iterator(), and send_offers_iterator().

◆ element

struct ElementEntry * KeyEntry::element

The actual element associated with the key.

Only owned by the union operation if element->operation is GNUNET_YES.

Definition at line 232 of file gnunet-service-set_union.c.

Referenced by destroy_key_to_element_iter(), op_get_element_iterator(), op_register_element(), prepare_ibf_iterator(), send_missing_full_elements_iter(), and send_offers_iterator().

◆ received

int KeyEntry::received

Did we receive this element? Even if element->is_foreign is false, we might have received the element, so this indicates that the other peer has it.

Definition at line 240 of file gnunet-service-set_union.c.

Referenced by handle_union_p2p_elements(), handle_union_p2p_full_element(), op_register_element(), and send_missing_full_elements_iter().


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