GNUnet  0.11.x
Data Fields
IntersectionDoneMessage Struct Reference

Last message, send to confirm the final set. More...

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

Collaboration diagram for IntersectionDoneMessage:
[legend]

Data Fields

struct GNUNET_MessageHeader header
 Type: GNUNET_MESSAGE_TYPE_SET_INTERSECTION_P2P_DONE. More...
 
uint32_t final_element_count
 Final number of elements in intersection. More...
 
struct GNUNET_HashCode element_xor_hash
 XOR of all hashes over all elements remaining in the set. More...
 

Detailed Description

Last message, send to confirm the final set.

Contains the element count as it is possible that the peer determined that we were done by getting the empty set, which in that case also needs to be communicated.

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

Field Documentation

◆ header

struct GNUNET_MessageHeader IntersectionDoneMessage::header

◆ final_element_count

uint32_t IntersectionDoneMessage::final_element_count

Final number of elements in intersection.

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

Referenced by handle_intersection_p2p_done(), and send_p2p_done().

◆ element_xor_hash

struct GNUNET_HashCode IntersectionDoneMessage::element_xor_hash

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

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

Referenced by handle_intersection_p2p_done(), and send_p2p_done().


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