GNUnet  0.11.x
Data Fields
NetJailState Struct Reference

Struct to hold information for callbacks. More...

Collaboration diagram for NetJailState:
[legend]

Data Fields

struct GNUNET_TESTING_AsyncContext ac
 Context for our asynchronous completion. More...
 
struct GNUNET_ChildWaitHandlecwh
 
struct GNUNET_OS_Processstart_proc
 The process id of the start script. More...
 
char * topology_config
 Configuration file for the test topology. More...
 
struct GNUNET_TESTING_NetjailTopologytopology
 The complete topology information. More...
 
unsigned int * rv
 Pointer to the return value of the test. More...
 
struct HelperMessagehp_messages_head
 Head of the DLL which stores messages received by the helper. More...
 
struct HelperMessagehp_messages_tail
 Tail of the DLL which stores messages received by the helper. More...
 
struct GNUNET_HELPER_Handle ** helper
 Array with handles of helper processes. More...
 
unsigned int n_helper
 Size of the array NetJailState::helper. More...
 
unsigned int local_m
 Number of nodes in a natted subnet. More...
 
unsigned int global_n
 Number of natted subnets. More...
 
unsigned int known
 Number of global known nodes. More...
 
struct GNUNET_HELPER_SendHandle ** shandle
 The send handle for the helper. More...
 
unsigned int n_shandle
 Size of the array NetJailState::shandle. More...
 
struct GNUNET_MessageHeader ** msg
 The messages send to the helper. More...
 
unsigned int n_msg
 Size of the array NetJailState::msg. More...
 
unsigned int number_of_testsystems_started
 Number of test environments started. More...
 
unsigned int number_of_peers_started
 Number of peers started. More...
 
unsigned int number_of_local_test_finished
 Number of local tests finished. More...
 
char * plugin_name
 Name of the test case plugin the helper will load. More...
 
struct TestingSystemCounttbcs_head
 HEAD of the DLL containing TestingSystemCount. More...
 
struct TestingSystemCounttbcs_tail
 TAIL of the DLL containing TestingSystemCount. More...
 
struct GNUNET_OS_Processstop_proc
 The process id of the start script. More...
 

Detailed Description

Struct to hold information for callbacks.

Struct to store information handed over to callbacks.

Definition at line 36 of file testing_api_cmd_netjail_start.c.

Field Documentation

◆ ac

struct GNUNET_TESTING_AsyncContext NetJailState::ac

Context for our asynchronous completion.

Definition at line 124 of file testing_api_cmd_netjail_start.c.

Referenced by exp_cb().

◆ cwh

struct GNUNET_ChildWaitHandle* NetJailState::cwh

Definition at line 44 of file testing_api_cmd_netjail_start.c.

◆ start_proc

struct GNUNET_OS_Process* NetJailState::start_proc

The process id of the start script.

Definition at line 49 of file testing_api_cmd_netjail_start.c.

◆ topology_config

char * NetJailState::topology_config

Configuration file for the test topology.

Definition at line 54 of file testing_api_cmd_netjail_start.c.

◆ topology

struct GNUNET_TESTING_NetjailTopology* NetJailState::topology

The complete topology information.

Definition at line 72 of file testing_api_cmd_netjail_start_testsystem.c.

◆ rv

unsigned int* NetJailState::rv

Pointer to the return value of the test.

Definition at line 78 of file testing_api_cmd_netjail_start_testsystem.c.

◆ hp_messages_head

struct HelperMessage* NetJailState::hp_messages_head

Head of the DLL which stores messages received by the helper.

Definition at line 84 of file testing_api_cmd_netjail_start_testsystem.c.

◆ hp_messages_tail

struct HelperMessage* NetJailState::hp_messages_tail

Tail of the DLL which stores messages received by the helper.

Definition at line 90 of file testing_api_cmd_netjail_start_testsystem.c.

◆ helper

struct GNUNET_HELPER_Handle** NetJailState::helper

Array with handles of helper processes.

Definition at line 95 of file testing_api_cmd_netjail_start_testsystem.c.

◆ n_helper

unsigned int NetJailState::n_helper

Size of the array NetJailState::helper.

Definition at line 101 of file testing_api_cmd_netjail_start_testsystem.c.

◆ local_m

unsigned int NetJailState::local_m

Number of nodes in a natted subnet.

Definition at line 107 of file testing_api_cmd_netjail_start_testsystem.c.

◆ global_n

unsigned int NetJailState::global_n

Number of natted subnets.

Definition at line 113 of file testing_api_cmd_netjail_start_testsystem.c.

◆ known

unsigned int NetJailState::known

Number of global known nodes.

Definition at line 119 of file testing_api_cmd_netjail_start_testsystem.c.

◆ shandle

struct GNUNET_HELPER_SendHandle** NetJailState::shandle

The send handle for the helper.

Definition at line 124 of file testing_api_cmd_netjail_start_testsystem.c.

◆ n_shandle

unsigned int NetJailState::n_shandle

Size of the array NetJailState::shandle.

Definition at line 130 of file testing_api_cmd_netjail_start_testsystem.c.

◆ msg

struct GNUNET_MessageHeader** NetJailState::msg

The messages send to the helper.

Definition at line 135 of file testing_api_cmd_netjail_start_testsystem.c.

◆ n_msg

unsigned int NetJailState::n_msg

Size of the array NetJailState::msg.

Definition at line 141 of file testing_api_cmd_netjail_start_testsystem.c.

◆ number_of_testsystems_started

unsigned int NetJailState::number_of_testsystems_started

Number of test environments started.

Definition at line 147 of file testing_api_cmd_netjail_start_testsystem.c.

◆ number_of_peers_started

unsigned int NetJailState::number_of_peers_started

Number of peers started.

Definition at line 153 of file testing_api_cmd_netjail_start_testsystem.c.

◆ number_of_local_test_finished

unsigned int NetJailState::number_of_local_test_finished

Number of local tests finished.

Definition at line 159 of file testing_api_cmd_netjail_start_testsystem.c.

◆ plugin_name

char* NetJailState::plugin_name

Name of the test case plugin the helper will load.

Definition at line 165 of file testing_api_cmd_netjail_start_testsystem.c.

◆ tbcs_head

struct TestingSystemCount* NetJailState::tbcs_head

HEAD of the DLL containing TestingSystemCount.

Definition at line 171 of file testing_api_cmd_netjail_start_testsystem.c.

◆ tbcs_tail

struct TestingSystemCount* NetJailState::tbcs_tail

TAIL of the DLL containing TestingSystemCount.

Definition at line 177 of file testing_api_cmd_netjail_start_testsystem.c.

◆ stop_proc

struct GNUNET_OS_Process* NetJailState::stop_proc

The process id of the start script.

Definition at line 55 of file testing_api_cmd_netjail_stop.c.


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