GNUnet  0.11.x
Data Fields
BFMessage Struct Reference

Bloom filter messages exchanged for set intersection calculation. More...

#include </home/handbook/gnunet/src/set/gnunet-service-set_protocol.h>

Collaboration diagram for BFMessage:
[legend]

Data Fields

struct GNUNET_MessageHeader header
 Type: GNUNET_MESSAGE_TYPE_SET_INTERSECTION_P2P_BF. More...
 
uint32_t sender_element_count
 Number of elements the sender still has in the set. More...
 
struct GNUNET_HashCode element_xor_hash
 XOR of all hashes over all elements remaining in the set. More...
 
uint32_t sender_mutator
 Mutator used with this bloomfilter. More...
 
uint32_t bloomfilter_total_length
 Total length of the bloomfilter data. More...
 
uint32_t bits_per_element
 Number of bits (k-value) used in encoding the bloomfilter. More...
 

Detailed Description

Bloom filter messages exchanged for set intersection calculation.

Definition at line 147 of file gnunet-service-set_protocol.h.

Field Documentation

◆ header

struct GNUNET_MessageHeader BFMessage::header

◆ sender_element_count

uint32_t BFMessage::sender_element_count

Number of elements the sender still has in the set.

Definition at line 157 of file gnunet-service-set_protocol.h.

Referenced by handle_intersection_p2p_bf(), and send_bloomfilter().

◆ element_xor_hash

struct GNUNET_HashCode BFMessage::element_xor_hash

XOR of all hashes over all elements remaining in the set.

Used to determine termination.

Definition at line 163 of file gnunet-service-set_protocol.h.

Referenced by handle_intersection_p2p_bf(), and send_bloomfilter().

◆ sender_mutator

uint32_t BFMessage::sender_mutator

Mutator used with this bloomfilter.

Definition at line 168 of file gnunet-service-set_protocol.h.

Referenced by handle_intersection_p2p_bf(), and send_bloomfilter().

◆ bloomfilter_total_length

uint32_t BFMessage::bloomfilter_total_length

Total length of the bloomfilter data.

Definition at line 173 of file gnunet-service-set_protocol.h.

Referenced by handle_intersection_p2p_bf(), and send_bloomfilter().

◆ bits_per_element

uint32_t BFMessage::bits_per_element

Number of bits (k-value) used in encoding the bloomfilter.

Definition at line 178 of file gnunet-service-set_protocol.h.

Referenced by handle_intersection_p2p_bf(), and send_bloomfilter().


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