Public data (in the sense of not encapsulated within 'gnunet-service-fs_pr', not in the sense of network-wide known) associated with each pending request. More...
#include </home/buildbot/bb-worker/worker/gnunet_firefly/build/src/service/fs/gnunet-service-fs_pr.h>
Data Fields | |
struct GNUNET_HashCode | query |
Primary query hash for this request. More... | |
const struct GNUNET_PeerIdentity * | target |
Identity of a peer hosting the content, otherwise NULl. More... | |
struct GSF_PendingRequestPlanBijection * | pr_head |
Fields for the plan module to track a DLL with the request. More... | |
struct GSF_PendingRequestPlanBijection * | pr_tail |
Fields for the plan module to track a DLL with the request. More... | |
struct GNUNET_TIME_Absolute | ttl |
Current TTL for the request. More... | |
struct GNUNET_TIME_Absolute | start_time |
When did we start with the request. More... | |
uint32_t | anonymity_level |
Desired anonymity level. More... | |
uint32_t | priority |
Priority that this request (still) has for us. More... | |
uint32_t | original_priority |
Priority that this request (originally) had for us. More... | |
uint32_t | num_transmissions |
Counter for how often this request has been transmitted (estimate, because we might have the same request pending for multiple clients, and of course because a transmission may have failed at a lower layer). More... | |
uint32_t | respect_offered |
How much respect did we (in total) offer for this request so far (estimate, because we might have the same request pending for multiple clients, and of course because a transmission may have failed at a lower layer). More... | |
enum GSF_PendingRequestOptions | options |
Options for the request. More... | |
enum GNUNET_BLOCK_Type | type |
Type of the requested block. More... | |
unsigned int | results_found |
Number of results we have found for this request so far. More... | |
int | has_started |
Has this request been started yet (local/p2p operations)? Or are we still constructing it? More... | |
Public data (in the sense of not encapsulated within 'gnunet-service-fs_pr', not in the sense of network-wide known) associated with each pending request.
Definition at line 81 of file gnunet-service-fs_pr.h.
struct GNUNET_HashCode GSF_PendingRequestData::query |
Primary query hash for this request.
Definition at line 86 of file gnunet-service-fs_pr.h.
Referenced by gnunet-chk.Chk::__init__(), cadet_reply_proc(), clean_request(), client_response_handler(), free_pending_request(), get_rp_key(), GSF_cadet_lookup_(), GSF_dht_lookup_(), GSF_pending_request_cancel_(), GSF_pending_request_create_(), GSF_pending_request_get_message_(), GSF_pending_request_is_compatible_(), GSF_plan_add_(), GSF_plan_notify_request_done_(), handle_client_start_search(), handle_p2p_get(), handle_p2p_reply(), peer_request_destroy(), plan(), start_local_query(), start_p2p_processing(), and gnunet-chk.Chk::uri().
const struct GNUNET_PeerIdentity* GSF_PendingRequestData::target |
Identity of a peer hosting the content, otherwise NULl.
Allocated after struct only if needed. Do not free!
Definition at line 92 of file gnunet-service-fs_pr.h.
Referenced by cadet_reply_proc(), GSF_cadet_lookup_(), GSF_pending_request_create_(), and GSF_pending_request_get_message_().
struct GSF_PendingRequestPlanBijection* GSF_PendingRequestData::pr_head |
Fields for the plan module to track a DLL with the request.
Definition at line 97 of file gnunet-service-fs_pr.h.
Referenced by GSF_plan_add_(), GSF_plan_notify_peer_disconnect_(), GSF_plan_notify_request_done_(), merge_pr(), and process_reply().
struct GSF_PendingRequestPlanBijection* GSF_PendingRequestData::pr_tail |
Fields for the plan module to track a DLL with the request.
Definition at line 102 of file gnunet-service-fs_pr.h.
Referenced by GSF_plan_add_(), GSF_plan_notify_peer_disconnect_(), GSF_plan_notify_request_done_(), and merge_pr().
struct GNUNET_TIME_Absolute GSF_PendingRequestData::ttl |
Current TTL for the request.
Definition at line 107 of file gnunet-service-fs_pr.h.
Referenced by get_latest(), GSF_pending_request_create_(), GSF_pending_request_get_message_(), merge_pr(), and test_exist_cb().
struct GNUNET_TIME_Absolute GSF_PendingRequestData::start_time |
When did we start with the request.
Definition at line 112 of file gnunet-service-fs_pr.h.
Referenced by GSF_pending_request_create_(), process_local_reply(), process_reply(), and update_request_performance_data().
uint32_t GSF_PendingRequestData::anonymity_level |
Desired anonymity level.
Definition at line 117 of file gnunet-service-fs_pr.h.
Referenced by GSF_cadet_lookup_(), GSF_dht_lookup_(), GSF_pending_request_create_(), and start_p2p_processing().
uint32_t GSF_PendingRequestData::priority |
Priority that this request (still) has for us.
Definition at line 122 of file gnunet-service-fs_pr.h.
Referenced by GSF_pending_request_create_(), GSF_pending_request_get_message_(), process_local_reply(), process_reply(), and test_exist_cb().
uint32_t GSF_PendingRequestData::original_priority |
Priority that this request (originally) had for us.
Definition at line 127 of file gnunet-service-fs_pr.h.
Referenced by GSF_pending_request_create_(), and process_reply().
uint32_t GSF_PendingRequestData::num_transmissions |
Counter for how often this request has been transmitted (estimate, because we might have the same request pending for multiple clients, and of course because a transmission may have failed at a lower layer).
Definition at line 135 of file gnunet-service-fs_pr.h.
Referenced by client_response_handler(), and GSF_pending_request_get_message_().
uint32_t GSF_PendingRequestData::respect_offered |
How much respect did we (in total) offer for this request so far (estimate, because we might have the same request pending for multiple clients, and of course because a transmission may have failed at a lower layer).
Definition at line 143 of file gnunet-service-fs_pr.h.
Referenced by client_response_handler(), and GSF_pending_request_get_message_().
enum GSF_PendingRequestOptions GSF_PendingRequestData::options |
Options for the request.
Definition at line 148 of file gnunet-service-fs_pr.h.
Referenced by httpdomain.httpdomain.HTTPResource::add_target_and_index(), httpdomain.autohttp.flask_base.AutoflaskBase::blueprints(), call_continuation(), httpdomain.autohttp.bottle.AutobottleDirective::endpoints(), httpdomain.autohttp.flask_base.AutoflaskBase::endpoints(), httpdomain.autohttp.tornado.AutoTornadoDirective::endpoints(), GSF_dht_lookup_(), GSF_pending_request_create_(), GSF_pending_request_get_message_(), GSF_pending_request_update_(), httpdomain.autohttp.bottle.AutobottleDirective::make_rst(), httpdomain.autohttp.tornado.AutoTornadoDirective::make_rst(), httpdomain.autohttp.flask_base.AutoflaskBase::make_rst(), httpdomain.autohttp.flask_base.AutoflaskBase::modules(), httpdomain.autohttp.flask_base.AutoflaskBase::order(), process_local_reply(), typescriptdomain.TypeScriptDefinition::run(), start_local_query(), httpdomain.autohttp.flask_base.AutoflaskBase::undoc_blueprints(), httpdomain.autohttp.bottle.AutobottleDirective::undoc_endpoints(), httpdomain.autohttp.flask_base.AutoflaskBase::undoc_endpoints(), httpdomain.autohttp.tornado.AutoTornadoDirective::undoc_endpoints(), and httpdomain.autohttp.flask_base.AutoflaskBase::undoc_modules().
enum GNUNET_BLOCK_Type GSF_PendingRequestData::type |
Type of the requested block.
Definition at line 153 of file gnunet-service-fs_pr.h.
Referenced by cadet_reply_proc(), client_response_handler(), GSF_cadet_lookup_(), GSF_dht_lookup_(), GSF_pending_request_create_(), GSF_pending_request_get_message_(), GSF_pending_request_is_compatible_(), GSF_pending_request_update_(), handle_client_start_search(), handle_p2p_reply(), no_more_local_results(), start_local_query(), start_p2p_processing(), and test_exist_cb().
unsigned int GSF_PendingRequestData::results_found |
Number of results we have found for this request so far.
Definition at line 158 of file gnunet-service-fs_pr.h.
Referenced by process_local_reply(), and process_reply().
int GSF_PendingRequestData::has_started |
Has this request been started yet (local/p2p operations)? Or are we still constructing it?
Definition at line 164 of file gnunet-service-fs_pr.h.
Referenced by handle_client_start_search(), and handle_p2p_get().