GNUnet 0.28.1-dev.4-46-g92a0edb0d
 
Loading...
Searching...
No Matches
PendingPut Struct Reference

A local PUT that we could not route anywhere, kept so that we can try again once we have a peer to route it to. More...

Collaboration diagram for PendingPut:
[legend]

Data Fields

struct PendingPutnext
 Kept in a DLL.
 
struct PendingPutprev
 Kept in a DLL.
 
struct GNUNET_DATACACHE_Block bd
 The block to store.
 
struct GNUNET_TIME_Absolute give_up_time
 When do we give up on this block?
 
struct GNUNET_TIME_Absolute retry_time
 When should we try again?
 
struct GNUNET_TIME_Relative retry_frequency
 Current delay between attempts.
 
uint32_t replication_level
 Replication level the client asked for.
 

Detailed Description

A local PUT that we could not route anywhere, kept so that we can try again once we have a peer to route it to.

The block data follows the struct, bd.data points at it.

Definition at line 322 of file gnunet-service-dht_clients.c.

Field Documentation

◆ next

struct PendingPut* PendingPut::next

Kept in a DLL.

Definition at line 327 of file gnunet-service-dht_clients.c.

Referenced by GDS_CLIENTS_retry_puts(), and put_retry_task_cb().

◆ prev

struct PendingPut* PendingPut::prev

Kept in a DLL.

Definition at line 332 of file gnunet-service-dht_clients.c.

◆ bd

struct GNUNET_DATACACHE_Block PendingPut::bd

◆ give_up_time

struct GNUNET_TIME_Absolute PendingPut::give_up_time

When do we give up on this block?

Definition at line 342 of file gnunet-service-dht_clients.c.

Referenced by cb_forwarded_dht_local_put(), and handle_dht_local_put().

◆ retry_time

struct GNUNET_TIME_Absolute PendingPut::retry_time

When should we try again?

Definition at line 347 of file gnunet-service-dht_clients.c.

Referenced by cb_forwarded_dht_local_put(), and put_retry_task_cb().

◆ retry_frequency

struct GNUNET_TIME_Relative PendingPut::retry_frequency

Current delay between attempts.

Definition at line 352 of file gnunet-service-dht_clients.c.

Referenced by cb_forwarded_dht_local_put(), and handle_dht_local_put().

◆ replication_level

uint32_t PendingPut::replication_level

Replication level the client asked for.

Definition at line 357 of file gnunet-service-dht_clients.c.

Referenced by handle_dht_local_put(), and route_pending_put().


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