GNUnet 0.21.1
PeerPutMessage Struct Reference

P2P PUT message. More...

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 105 of file gnunet-service-dht_neighbours.c.

Field Documentation

◆ header

◆ type

uint32_t PeerPutMessage::type

Content type, must not be zero.

Definition at line 115 of file gnunet-service-dht_neighbours.c.

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

◆ options

◆ hop_count

uint16_t PeerPutMessage::hop_count

Hop count.

Definition at line 125 of file gnunet-service-dht_neighbours.c.

Referenced by 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 130 of file gnunet-service-dht_neighbours.c.

Referenced by 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 135 of file gnunet-service-dht_neighbours.c.

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

◆ expiration_time

struct GNUNET_TIME_AbsoluteNBO PeerPutMessage::expiration_time

When does the content expire?

Definition at line 140 of file gnunet-service-dht_neighbours.c.

Referenced by GDS_NEIGHBOURS_handle_put(), and handle_dht_p2p_put().

◆ bloomfilter

char PeerPutMessage::bloomfilter[128]

Bloomfilter (for peer identities) to stop circular routes.

Definition at line 145 of file gnunet-service-dht_neighbours.c.

Referenced by GDS_NEIGHBOURS_handle_put(), and handle_dht_p2p_put().

◆ key

struct GNUNET_HashCode PeerPutMessage::key

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