GNUnet 0.22.2
PeerPutMessage Struct Reference

P2P PUT message. More...

#include </home/buildbot/bb-worker/worker/gnunet_firefly/build/src/service/dht/dht.h>

Collaboration diagram for PeerPutMessage:
[legend]

Data Fields

struct GNUNET_MessageHeader header
 Type: GNUNET_MESSAGE_TYPE_DHT_P2P_PUT. More...
 
uint32_t type
 Content type, must not be zero. More...
 
uint16_t options
 Processing options. More...
 
uint16_t hop_count
 Hop count. More...
 
uint16_t desired_replication_level
 Replication level for this message. More...
 
uint16_t put_path_length
 Length of the PUT path that follows (if tracked). More...
 
struct GNUNET_TIME_AbsoluteNBO expiration_time
 When does the content expire? More...
 
char bloomfilter [128]
 Bloomfilter (for peer identities) to stop circular routes. More...
 
struct GNUNET_HashCode key
 The key we are storing under. More...
 

Detailed Description

P2P PUT message.

Definition at line 428 of file dht.h.

Field Documentation

◆ header

◆ type

uint32_t PeerPutMessage::type

Content type, must not be zero.

Definition at line 438 of file dht.h.

Referenced by check_dht_p2p_put(), GDS_helper_make_put_message(), and handle_dht_p2p_put().

◆ options

uint16_t PeerPutMessage::options

Processing options.

Definition at line 443 of file dht.h.

Referenced by check_dht_p2p_put(), GDS_helper_make_put_message(), and handle_dht_p2p_put().

◆ hop_count

uint16_t PeerPutMessage::hop_count

Hop count.

Definition at line 448 of file dht.h.

Referenced by GDS_helper_make_put_message(), GDS_NEIGHBOURS_handle_put(), and handle_dht_p2p_put().

◆ desired_replication_level

uint16_t PeerPutMessage::desired_replication_level

Replication level for this message.

Definition at line 453 of file dht.h.

Referenced by GDS_helper_make_put_message(), GDS_NEIGHBOURS_handle_put(), and handle_dht_p2p_put().

◆ put_path_length

uint16_t PeerPutMessage::put_path_length

Length of the PUT path that follows (if tracked).

Definition at line 458 of file dht.h.

Referenced by check_dht_p2p_put(), GDS_helper_make_put_message(), GDS_NEIGHBOURS_handle_put(), handle_dht_p2p_put(), and run().

◆ expiration_time

struct GNUNET_TIME_AbsoluteNBO PeerPutMessage::expiration_time

When does the content expire?

Definition at line 463 of file dht.h.

Referenced by GDS_helper_make_put_message(), and handle_dht_p2p_put().

◆ bloomfilter

char PeerPutMessage::bloomfilter[128]

Bloomfilter (for peer identities) to stop circular routes.

Definition at line 468 of file dht.h.

Referenced by GDS_helper_make_put_message(), and handle_dht_p2p_put().

◆ key

struct GNUNET_HashCode PeerPutMessage::key

The key we are storing under.

Definition at line 473 of file dht.h.

Referenced by gnunet-chk.Chk::__init__(), gnunet-chk.AESKey::__init__(), GDS_helper_make_put_message(), handle_dht_p2p_put(), and gnunet-chk.Chk::uri().


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