GNUnet 0.21.1
PeerResultMessage Struct Reference

P2P Result message. More...

Collaboration diagram for PeerResultMessage:
[legend]

Data Fields

struct GNUNET_MessageHeader header
 Type: GNUNET_MESSAGE_TYPE_DHT_P2P_RESULT. More...
 
uint32_t type
 Content type. More...
 
uint16_t reserved
 Always 0. More...
 
uint16_t options
 Message options, actually an 'enum GNUNET_DHT_RouteOption' value in NBO. More...
 
uint16_t put_path_length
 Length of the PUT path that follows (if tracked). More...
 
uint16_t get_path_length
 Length of the GET path that follows (if tracked). More...
 
struct GNUNET_TIME_AbsoluteNBO expiration_time
 When does the content expire? More...
 
struct GNUNET_HashCode key
 The key of the corresponding GET request. More...
 

Detailed Description

P2P Result message.

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

Field Documentation

◆ header

◆ type

uint32_t PeerResultMessage::type

Content type.

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

Referenced by GDS_NEIGHBOURS_handle_reply(), and handle_dht_p2p_result().

◆ reserved

uint16_t PeerResultMessage::reserved

Always 0.

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

Referenced by GDS_NEIGHBOURS_handle_reply().

◆ options

◆ put_path_length

uint16_t PeerResultMessage::put_path_length

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

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

Referenced by check_dht_p2p_result(), GDS_NEIGHBOURS_handle_reply(), and handle_dht_p2p_result().

◆ get_path_length

uint16_t PeerResultMessage::get_path_length

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

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

Referenced by check_dht_p2p_result(), GDS_NEIGHBOURS_handle_reply(), and handle_dht_p2p_result().

◆ expiration_time

struct GNUNET_TIME_AbsoluteNBO PeerResultMessage::expiration_time

When does the content expire?

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

Referenced by GDS_NEIGHBOURS_handle_reply(), and handle_dht_p2p_result().

◆ key

struct GNUNET_HashCode PeerResultMessage::key

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