Context for a peer which actively does DHT PUT/GET. More...
Data Fields | |
struct Context * | ctx |
The linked peer context. More... | |
struct GNUNET_DHT_Handle * | dht |
Handler to the DHT service. More... | |
struct ActiveContext * | get_ac |
The active context used for our DHT GET. More... | |
struct GNUNET_DHT_PutHandle * | dht_put |
The put handle. More... | |
struct GNUNET_DHT_GetHandle * | dht_get |
The get handle. More... | |
struct GNUNET_HashCode * | hash |
The hashes of the values stored via this activity context. More... | |
struct GNUNET_SCHEDULER_Task * | delay_task |
Delay task. More... | |
unsigned int | put_count |
How many puts should we still issue? More... | |
uint16_t | nrefs |
The number of peers currently doing GET on our data. More... | |
Context for a peer which actively does DHT PUT/GET.
Definition at line 85 of file gnunet_dht_profiler.c.
struct Context* ActiveContext::ctx |
The linked peer context.
Definition at line 90 of file gnunet_dht_profiler.c.
Referenced by cancel_get(), delayed_put(), dht_connected(), get_iter(), start_profiling(), and test_run().
struct GNUNET_DHT_Handle* ActiveContext::dht |
Handler to the DHT service.
Definition at line 95 of file gnunet_dht_profiler.c.
Referenced by delayed_get(), delayed_put(), dht_connected(), and dht_disconnect().
struct ActiveContext* ActiveContext::get_ac |
The active context used for our DHT GET.
Definition at line 100 of file gnunet_dht_profiler.c.
Referenced by delayed_get(), and get_iter().
struct GNUNET_DHT_PutHandle* ActiveContext::dht_put |
The put handle.
Definition at line 105 of file gnunet_dht_profiler.c.
Referenced by delayed_put(), do_shutdown(), and put_cont().
struct GNUNET_DHT_GetHandle* ActiveContext::dht_get |
The get handle.
Definition at line 110 of file gnunet_dht_profiler.c.
Referenced by cancel_get(), delayed_get(), do_shutdown(), and get_iter().
struct GNUNET_HashCode* ActiveContext::hash |
The hashes of the values stored via this activity context.
Array of length num_puts_per_peer.
Definition at line 116 of file gnunet_dht_profiler.c.
Referenced by delayed_get(), delayed_put(), dht_connected(), and do_shutdown().
struct GNUNET_SCHEDULER_Task* ActiveContext::delay_task |
Delay task.
Definition at line 121 of file gnunet_dht_profiler.c.
Referenced by cancel_get(), delayed_get(), delayed_put(), dht_connected(), do_shutdown(), get_iter(), and put_cont().
unsigned int ActiveContext::put_count |
How many puts should we still issue?
Definition at line 126 of file gnunet_dht_profiler.c.
Referenced by delayed_put(), and dht_connected().
uint16_t ActiveContext::nrefs |
The number of peers currently doing GET on our data.
Definition at line 131 of file gnunet_dht_profiler.c.
Referenced by delayed_get(), and get_iter().