GNUnet 0.21.1
ClientQueryRecord Struct Reference

Entry in the local forwarding map for a client's GET request. More...

Collaboration diagram for ClientQueryRecord:
[legend]

Data Fields

struct GNUNET_HashCode key
 The key this request was about. More...
 
struct ClientQueryRecordnext
 Kept in a DLL with client. More...
 
struct ClientQueryRecordprev
 Kept in a DLL with client. More...
 
struct ClientHandlech
 Client responsible for the request. More...
 
const void * xquery
 Extended query (see gnunet_block_lib.h), allocated at the end of this struct. More...
 
struct GNUNET_HashCodeseen_replies
 Array of (hashes of) replies we have already seen for this request. More...
 
struct GNUNET_CONTAINER_HeapNodehnode
 Pointer to this nodes heap location in the retry-heap (for fast removal) More...
 
struct GNUNET_TIME_Relative retry_frequency
 What's the delay between re-try operations that we currently use for this request? More...
 
struct GNUNET_TIME_Absolute retry_time
 What's the next time we should re-try this request? More...
 
uint64_t unique_id
 The unique identifier of this request. More...
 
size_t xquery_size
 Number of bytes in xquery. More...
 
unsigned int seen_replies_count
 Number of entries in seen_replies. More...
 
uint32_t replication
 Desired replication level. More...
 
enum GNUNET_DHT_RouteOption msg_options
 Any message options for this request. More...
 
enum GNUNET_BLOCK_Type type
 The type for the data for the GET request. More...
 

Detailed Description

Entry in the local forwarding map for a client's GET request.

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

Field Documentation

◆ key

struct GNUNET_HashCode ClientQueryRecord::key

◆ next

struct ClientQueryRecord* ClientQueryRecord::next

Kept in a DLL with client.

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

◆ prev

struct ClientQueryRecord* ClientQueryRecord::prev

Kept in a DLL with client.

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

◆ ch

struct ClientHandle* ClientQueryRecord::ch

Client responsible for the request.

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

Referenced by handle_dht_local_get().

◆ xquery

const void* ClientQueryRecord::xquery

Extended query (see gnunet_block_lib.h), allocated at the end of this struct.

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

Referenced by handle_dht_local_get(), and transmit_request().

◆ seen_replies

struct GNUNET_HashCode* ClientQueryRecord::seen_replies

Array of (hashes of) replies we have already seen for this request.

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

Referenced by handle_dht_local_get_result_seen(), and transmit_request().

◆ hnode

struct GNUNET_CONTAINER_HeapNode* ClientQueryRecord::hnode

Pointer to this nodes heap location in the retry-heap (for fast removal)

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

Referenced by handle_dht_local_get(), and transmit_next_request_task().

◆ retry_frequency

struct GNUNET_TIME_Relative ClientQueryRecord::retry_frequency

What's the delay between re-try operations that we currently use for this request?

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

Referenced by handle_dht_local_get(), and transmit_request().

◆ retry_time

struct GNUNET_TIME_Absolute ClientQueryRecord::retry_time

What's the next time we should re-try this request?

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

Referenced by handle_dht_local_get(), transmit_next_request_task(), and transmit_request().

◆ unique_id

uint64_t ClientQueryRecord::unique_id

The unique identifier of this request.

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

Referenced by find_by_unique_id(), handle_dht_local_get(), and remove_by_unique_id().

◆ xquery_size

size_t ClientQueryRecord::xquery_size

Number of bytes in xquery.

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

Referenced by handle_dht_local_get(), and transmit_request().

◆ seen_replies_count

unsigned int ClientQueryRecord::seen_replies_count

Number of entries in seen_replies.

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

Referenced by handle_dht_local_get_result_seen(), and transmit_request().

◆ replication

uint32_t ClientQueryRecord::replication

Desired replication level.

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

Referenced by handle_dht_local_get(), and transmit_request().

◆ msg_options

enum GNUNET_DHT_RouteOption ClientQueryRecord::msg_options

Any message options for this request.

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

Referenced by handle_dht_local_get(), and transmit_request().

◆ type

enum GNUNET_BLOCK_Type ClientQueryRecord::type

The type for the data for the GET request.

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

Referenced by handle_dht_local_get(), and transmit_request().


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