commonly used definitions; globals in this file are exempt from the rule that the module name ("commo...
#define GNUNET_NETWORK_STRUCT_BEGIN
Define as empty, GNUNET_PACKED should suffice, but this won't work on W32.
#define GNUNET_NETWORK_STRUCT_END
Define as empty, GNUNET_PACKED should suffice, but this won't work on W32;.
#define GNUNET_PACKED
gcc-ism to get packed structs.
The identity of the host (wraps the signing key of the peer).
Message sent by a listening client to the service to accept performing the operation with the other p...
uint8_t byzantine
GNUNET_YES to fail operations where Byzantine faults are suspected
uint32_t byzantine_lower_bound
Lower bound for the set size, used only when byzantine mode is enabled.
uint8_t symmetric
GNUNET_YES to also send back set elements we are sending to the remote peer.
uint32_t request_id
Request ID to identify responses.
uint64_t byzantine_upper_bond
Upper bound for the set size, used only when byzantine mode is enabled.
struct GNUNET_MessageHeader header
Type: GNUNET_MESSAGE_TYPE_SETU_ACCEPT.
uint64_t bandwidth_latency_tradeoff
Bandwidth latency tradeoff determines how much bytes a single RTT is worth, which is a performance se...
uint64_t ibf_bucket_number_factor
The factor determines the number of buckets an IBF has which is multiplied by the estimated setsize d...
uint64_t ibf_number_of_buckets_per_element
This setting determines to how many IBF buckets an single elements is mapped to.
uint32_t accept_reject_id
ID of the incoming request we want to accept.
uint8_t force_full
Always send full sets, even if delta operations would be more efficient.
uint8_t force_delta
Always use delta operation instead of sending full sets, even it it's less efficient.
Sent to the service by the client in order to cancel a set operation.
uint32_t request_id
ID of the request we want to cancel.
struct GNUNET_MessageHeader header
Type: GNUNET_MESSAGE_TYPE_SETU_CANCEL.
Message sent by the client to the service to ask starting a new set to perform operations with.
struct GNUNET_MessageHeader header
Type: GNUNET_MESSAGE_TYPE_SETU_CREATE.
Message sent by client to the service to add an element to the set.
uint16_t element_type
Type of the element to add or remove.
uint16_t reserved
For alignment, always zero.
struct GNUNET_MessageHeader header
Type: GNUNET_MESSAGE_TYPE_SETU_ADD.
Message sent by client to service to initiate a set operation as a client (not as listener).
struct GNUNET_MessageHeader header
Type: GNUNET_MESSAGE_TYPE_SETU_EVALUATE.
uint8_t symmetric
Also return set elements we are sending to the remote peer.
uint64_t byzantine_upper_bond
Upper bound for the set size, used only when byzantine mode is enabled.
uint8_t force_delta
Always use delta operation instead of sending full sets, even it it's less efficient.
uint64_t bandwidth_latency_tradeoff
Bandwidth latency tradeoff determines how much bytes a single RTT is worth, which is a performance se...
uint32_t request_id
Id of our set to evaluate, chosen implicitly by the client when it calls GNUNET_SETU_commit().
uint8_t force_full
Always send full sets, even if delta operations would be more efficient.
uint32_t byzantine_lower_bound
Lower bound for the set size, used only when byzantine mode is enabled.
uint64_t ibf_bucket_number_factor
The factor determines the number of buckets an IBF has which is multiplied by the estimated setsize d...
uint64_t ibf_number_of_buckets_per_element
This setting determines to how many IBF buckets an single elements is mapped to.
struct GNUNET_HashCode app_id
Application id.
uint8_t byzantine
GNUNET_YES to fail operations where Byzantine faults are suspected
struct GNUNET_PeerIdentity target_peer
Peer to evaluate the operation with.
Message sent by the client to the service to start listening for incoming requests to perform a certa...
struct GNUNET_MessageHeader header
Type: GNUNET_MESSAGE_TYPE_SETU_LISTEN.
struct GNUNET_HashCode app_id
application id
uint32_t reserved
Always zero.
Message sent by a listening client to the service to reject performing the operation with the other p...
struct GNUNET_MessageHeader header
Type: GNUNET_MESSAGE_TYPE_SETU_REJECT.
uint32_t accept_reject_id
ID of the incoming request we want to reject.
A request for an operation with another client.
struct GNUNET_PeerIdentity peer_id
Identity of the requesting peer.
struct GNUNET_MessageHeader header
Type: GNUNET_MESSAGE_TYPE_SETU_REQUEST.
uint32_t accept_id
ID of the to identify the request when accepting or rejecting it.
Message sent by the service to the client to indicate an element that is removed (set intersection) o...
uint64_t current_size
Current set size.
uint16_t result_status
Was the evaluation successful? Contains an enum GNUNET_SETU_Status in NBO.
uint16_t element_type
Type of the element attached to the message, if any.
uint32_t request_id
id the result belongs to
struct GNUNET_MessageHeader header
Type: GNUNET_MESSAGE_TYPE_SETU_RESULT.