Entry in the local forwarding map for a client's GET request. More...
Data Fields | |
| struct GNUNET_HashCode | key |
| The key this request was about. | |
| struct ClientQueryRecord * | next |
| Kept in a DLL with client. | |
| struct ClientQueryRecord * | prev |
| Kept in a DLL with client. | |
| struct ClientHandle * | ch |
| Client responsible for the request. | |
| const void * | xquery |
| Extended query (see gnunet_block_lib.h), allocated at the end of this struct. | |
| struct GNUNET_HashCode * | seen_replies |
| Array of (hashes of) replies we have already seen for this request. | |
| struct GNUNET_CONTAINER_HeapNode * | hnode |
| Pointer to this nodes heap location in the retry-heap (for fast removal) | |
| struct GNUNET_TIME_Relative | retry_frequency |
| What's the delay between re-try operations that we currently use for this request? | |
| struct GNUNET_TIME_Absolute | retry_time |
| What's the next time we should re-try this request? | |
| uint64_t | unique_id |
| The unique identifier of this request. | |
| size_t | xquery_size |
| Number of bytes in xquery. | |
| unsigned int | seen_replies_count |
| Number of entries in seen_replies. | |
| uint32_t | replication |
| Desired replication level. | |
| enum GNUNET_DHT_RouteOption | msg_options |
| Any message options for this request. | |
| enum GNUNET_BLOCK_Type | type |
| The type for the data for the GET request. | |
Entry in the local forwarding map for a client's GET request.
Definition at line 59 of file gnunet-service-dht_clients.c.
| struct GNUNET_HashCode ClientQueryRecord::key |
The key this request was about.
Definition at line 64 of file gnunet-service-dht_clients.c.
Referenced by handle_dht_local_get(), and transmit_request().
| struct ClientQueryRecord* ClientQueryRecord::next |
Kept in a DLL with client.
Definition at line 69 of file gnunet-service-dht_clients.c.
| struct ClientQueryRecord* ClientQueryRecord::prev |
Kept in a DLL with client.
Definition at line 74 of file gnunet-service-dht_clients.c.
| struct ClientHandle* ClientQueryRecord::ch |
Client responsible for the request.
Definition at line 79 of file gnunet-service-dht_clients.c.
Referenced by handle_dht_local_get().
| const void* ClientQueryRecord::xquery |
Extended query (see gnunet_block_lib.h), allocated at the end of this struct.
Definition at line 84 of file gnunet-service-dht_clients.c.
Referenced by handle_dht_local_get(), and transmit_request().
| struct GNUNET_HashCode* ClientQueryRecord::seen_replies |
Array of (hashes of) replies we have already seen for this request.
Definition at line 89 of file gnunet-service-dht_clients.c.
Referenced by handle_dht_local_get_result_seen(), and transmit_request().
| struct GNUNET_CONTAINER_HeapNode* ClientQueryRecord::hnode |
Pointer to this nodes heap location in the retry-heap (for fast removal)
Definition at line 94 of file gnunet-service-dht_clients.c.
Referenced by handle_dht_local_get(), and transmit_next_request_task().
| 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 100 of file gnunet-service-dht_clients.c.
Referenced by handle_dht_local_get(), and transmit_request().
| struct GNUNET_TIME_Absolute ClientQueryRecord::retry_time |
What's the next time we should re-try this request?
Definition at line 105 of file gnunet-service-dht_clients.c.
Referenced by handle_dht_local_get(), transmit_next_request_task(), and transmit_request().
| uint64_t ClientQueryRecord::unique_id |
The unique identifier of this request.
Definition at line 110 of file gnunet-service-dht_clients.c.
Referenced by find_by_unique_id(), handle_dht_local_get(), and remove_by_unique_id().
| size_t ClientQueryRecord::xquery_size |
Number of bytes in xquery.
Definition at line 115 of file gnunet-service-dht_clients.c.
Referenced by handle_dht_local_get(), and transmit_request().
| unsigned int ClientQueryRecord::seen_replies_count |
Number of entries in seen_replies.
Definition at line 120 of file gnunet-service-dht_clients.c.
Referenced by handle_dht_local_get_result_seen(), and transmit_request().
| uint32_t ClientQueryRecord::replication |
Desired replication level.
Definition at line 125 of file gnunet-service-dht_clients.c.
Referenced by handle_dht_local_get(), and transmit_request().
| enum GNUNET_DHT_RouteOption ClientQueryRecord::msg_options |
Any message options for this request.
Definition at line 130 of file gnunet-service-dht_clients.c.
Referenced by handle_dht_local_get(), and transmit_request().
| enum GNUNET_BLOCK_Type ClientQueryRecord::type |
The type for the data for the GET request.
Definition at line 135 of file gnunet-service-dht_clients.c.
Referenced by handle_dht_local_get(), and transmit_request().