GNUnet  0.11.x
Data Fields
IBFMessage Struct Reference

Message containing buckets of an invertible bloom filter. More...

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

Collaboration diagram for IBFMessage:
[legend]

Data Fields

struct GNUNET_MessageHeader header
 Type: GNUNET_MESSAGE_TYPE_SET_UNION_P2P_IBF. More...
 
uint8_t order
 Order of the whole ibf, where num_buckets = 2^order. More...
 
uint8_t reserved1
 Padding, must be 0. More...
 
uint16_t reserved2
 Padding, must be 0. More...
 
uint32_t offset
 Offset of the strata in the rest of the message. More...
 
uint32_t salt
 Salt used when hashing elements for this IBF. More...
 

Detailed Description

Message containing buckets of an invertible bloom filter.

If an IBF has too many buckets for an IBF message, it is split into multiple messages.

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

Field Documentation

◆ header

struct GNUNET_MessageHeader IBFMessage::header

◆ order

uint8_t IBFMessage::order

Order of the whole ibf, where num_buckets = 2^order.

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

Referenced by check_union_p2p_ibf(), handle_union_p2p_ibf(), and send_ibf().

◆ reserved1

uint8_t IBFMessage::reserved1

Padding, must be 0.

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

Referenced by send_ibf().

◆ reserved2

uint16_t IBFMessage::reserved2

Padding, must be 0.

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

Referenced by send_ibf().

◆ offset

uint32_t IBFMessage::offset

Offset of the strata in the rest of the message.

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

Referenced by check_union_p2p_ibf(), handle_union_p2p_ibf(), and send_ibf().

◆ salt

uint32_t IBFMessage::salt

Salt used when hashing elements for this IBF.

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

Referenced by check_union_p2p_ibf(), handle_union_p2p_ibf(), and send_ibf().


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