GNUnet  0.11.x
Data Fields
ClientPutMessage Struct Reference

Response from FS service with a result for a previous FS search. More...

#include </home/handbook/gnunet/src/fs/fs.h>

Collaboration diagram for ClientPutMessage:
[legend]

Data Fields

struct GNUNET_MessageHeader header
 Message type will be GNUNET_MESSAGE_TYPE_FS_PUT. More...
 
uint32_t type
 Type of the block (in big endian). More...
 
struct GNUNET_TIME_AbsoluteNBO expiration
 When does this result expire? More...
 
struct GNUNET_TIME_AbsoluteNBO last_transmission
 When was the last time we've tried to download this block? (FOREVER if unknown/not relevant) More...
 
uint32_t num_transmissions
 How often did we transmit this query before getting an answer (estimate). More...
 
uint32_t respect_offered
 How much respect did we offer (in total) before getting an answer (estimate). More...
 

Detailed Description

Response from FS service with a result for a previous FS search.

Note that queries for DBLOCKS and IBLOCKS that have received a single response are considered done. This message is transmitted between the service and a client.

Definition at line 354 of file fs.h.

Field Documentation

◆ header

struct GNUNET_MessageHeader ClientPutMessage::header

Message type will be GNUNET_MESSAGE_TYPE_FS_PUT.

Definition at line 359 of file fs.h.

Referenced by handle_put(), and handle_result().

◆ type

uint32_t ClientPutMessage::type

Type of the block (in big endian).

Should never be zero.

Definition at line 364 of file fs.h.

Referenced by client_response_handler(), handle_put(), and handle_result().

◆ expiration

struct GNUNET_TIME_AbsoluteNBO ClientPutMessage::expiration

When does this result expire?

Definition at line 369 of file fs.h.

Referenced by client_response_handler(), and handle_result().

◆ last_transmission

struct GNUNET_TIME_AbsoluteNBO ClientPutMessage::last_transmission

When was the last time we've tried to download this block? (FOREVER if unknown/not relevant)

Definition at line 375 of file fs.h.

Referenced by client_response_handler(), and handle_put().

◆ num_transmissions

uint32_t ClientPutMessage::num_transmissions

How often did we transmit this query before getting an answer (estimate).

Definition at line 381 of file fs.h.

Referenced by client_response_handler(), and handle_put().

◆ respect_offered

uint32_t ClientPutMessage::respect_offered

How much respect did we offer (in total) before getting an answer (estimate).

Definition at line 387 of file fs.h.

Referenced by client_response_handler(), and handle_put().


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