GNUnet  0.10.x
Data Fields
Context Struct Reference

Context to hold data of peer. More...

#include </home/handbook/gnunet/src/testbed/gnunet-service-testbed.h>

Collaboration diagram for Context:
[legend]

Data Fields

struct GNUNET_TESTBED_Peerpeer
 The testbed peer this context belongs to. More...
 
struct GNUNET_TESTBED_Operationop
 Testbed operation acting on this peer. More...
 
struct ActiveContextac
 Active context; NULL if this peer is not an active peer. More...
 
struct GNUNET_SERVICE_Clientclient
 The client handle associated with this context. More...
 
char * master_ip
 The network address of the master controller. More...
 
struct GNUNET_TESTING_Systemsystem
 The TESTING system handle for starting peers locally. More...
 
uint32_t host_id
 Our host id according to this context. More...
 

Detailed Description

Context to hold data of peer.

The main context information associated with the client which started us.

Definition at line 63 of file gnunet_dht_profiler.c.

Field Documentation

◆ peer

struct GNUNET_TESTBED_Peer* Context::peer

The testbed peer this context belongs to.

Definition at line 67 of file gnunet_dht_profiler.c.

Referenced by start_profiling(), and test_run().

◆ op

struct GNUNET_TESTBED_Operation* Context::op

Testbed operation acting on this peer.

Definition at line 72 of file gnunet_dht_profiler.c.

Referenced by cancel_get(), delayed_put(), dht_connected(), do_shutdown(), get_iter(), service_started(), start_profiling(), and test_run().

◆ ac

struct ActiveContext* Context::ac

Active context; NULL if this peer is not an active peer.

Definition at line 77 of file gnunet_dht_profiler.c.

Referenced by cancel_get(), delayed_get(), delayed_put(), dht_connected(), dht_disconnect(), do_shutdown(), get_iter(), put_cont(), start_profiling(), and test_run().

◆ client

struct GNUNET_SERVICE_Client* Context::client

The client handle associated with this context.

Definition at line 241 of file gnunet-service-testbed.h.

Referenced by client_disconnect_cb(), handle_barrier_cancel(), handle_barrier_init(), handle_barrier_status(), and handle_init().

◆ master_ip

char* Context::master_ip

The network address of the master controller.

Definition at line 246 of file gnunet-service-testbed.h.

Referenced by handle_init(), handle_link_controllers(), and shutdown_task().

◆ system

struct GNUNET_TESTING_System* Context::system

The TESTING system handle for starting peers locally.

Definition at line 251 of file gnunet-service-testbed.h.

Referenced by handle_init(), handle_peer_create(), shutdown_task(), and update_peer_config().

◆ host_id

uint32_t Context::host_id

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