#include "platform.h"
#include "gnunet_util_lib.h"
#include "gnunet_testing_lib.h"
#include "testing_api_topology.h"
#include "testing_cmds.h"
Go to the source code of this file.
Macros | |
#define | LOG(kind, ...) GNUNET_log_from (kind, "testing-api", __VA_ARGS__) |
#define | CONNECT_ADDRESS_TEMPLATE "%s-192.168.15.%u" |
#define | ROUTER_CONNECT_ADDRESS_TEMPLATE "%s-92.68.150.%u" |
#define | KNOWN_CONNECT_ADDRESS_TEMPLATE "%s-92.68.151.%u" |
#define | PREFIX_TCP "tcp" |
#define | PREFIX_UDP "udp" |
#define | PREFIX_TCP_NATTED "tcp_natted" |
#define | PREFIX_UDP_NATTED "udp_natted" |
Functions | |
static unsigned int | get_first_value (const char *line) |
Every line in the topology configuration starts with a string indicating which kind of information will be configured with this line. More... | |
static char * | get_key (const char *line) |
Every line in the topology configuration starts with a string indicating which kind of information will be configured with this line. More... | |
static char * | get_first_string_value (const char *line) |
Every line in the topology configuration starts with a string indicating which kind of information will be configured with this line. More... | |
static unsigned int | get_second_value (const char *line) |
Every line in the topology configuration starts with a string indicating which kind of information will be configured with this line. More... | |
static char * | get_value (const char *key, const char *line) |
Every line in the topology configuration starts with a string indicating which kind of information will be configured with this line. More... | |
static struct GNUNET_TESTING_NodeConnection * | get_connect_value (const char *line, struct GNUNET_TESTING_NetjailNode *node) |
Every line in the topology configuration starts with a string indicating which kind of information will be configured with this line. More... | |
static void | node_connections (const char *line, struct GNUNET_TESTING_NetjailNode *node) |
Every line in the topology configuration starts with a string indicating which kind of information will be configured with this line. More... | |
static int | log_nodes (void *cls, const struct GNUNET_ShortHashCode *id, void *value) |
A helper function to log information about individual nodes. More... | |
static int | log_namespaces (void *cls, const struct GNUNET_ShortHashCode *id, void *value) |
Helper function to log information about namespaces. More... | |
static int | log_topo (const struct GNUNET_TESTING_NetjailTopology *topology) |
Helper function to log the configuration in case of a problem with configuration. More... | |
static void | get_node_info (unsigned int num, const struct GNUNET_TESTING_NetjailTopology *topology, struct GNUNET_TESTING_NetjailNode **node_ex, struct GNUNET_TESTING_NetjailNamespace **namespace_ex, struct GNUNET_TESTING_NodeConnection **node_connections_ex) |
This function extracts information about a specific node from the topology. More... | |
struct GNUNET_TESTING_NetjailNode * | GNUNET_TESTING_get_node (unsigned int num, struct GNUNET_TESTING_NetjailTopology *topology) |
Get a node from the topology. More... | |
struct GNUNET_TESTING_NodeConnection * | GNUNET_TESTING_get_connections (unsigned int num, const struct GNUNET_TESTING_NetjailTopology *topology) |
Get the connections to other nodes for a specific node. More... | |
int | free_nodes_cb (void *cls, const struct GNUNET_ShortHashCode *key, void *value) |
int | free_namespaces_cb (void *cls, const struct GNUNET_ShortHashCode *key, void *value) |
static int | free_value_cb (void *cls, const struct GNUNET_ShortHashCode *key, void *value) |
static int | free_subnets_cb (void *cls, const struct GNUNET_ShortHashCode *key, void *value) |
static int | free_carriers_cb (void *cls, const struct GNUNET_ShortHashCode *key, void *value) |
void | GNUNET_TESTING_free_topology (struct GNUNET_TESTING_NetjailTopology *topology) |
Deallocate memory of the struct GNUNET_TESTING_NetjailTopology. More... | |
unsigned int | GNUNET_TESTING_calculate_num (struct GNUNET_TESTING_NodeConnection *node_connection, struct GNUNET_TESTING_NetjailTopology *topology) |
Deallocate memory of the struct GNUNET_TESTING_NetjailTopology. More... | |
char * | GNUNET_TESTING_get_address (struct GNUNET_TESTING_NodeConnection *connection, const char *prefix) |
Get the address for a specific communicator from a connection. More... | |
unsigned int | GNUNET_TESTING_get_additional_connects (unsigned int num, struct GNUNET_TESTING_NetjailTopology *topology) |
Get the number of unintentional additional connections the node waits for. More... | |
char * | GNUNET_TESTING_get_plugin_from_topo (struct GNUNET_TESTING_NetjailTopology *njt, const char *my_node_id) |
Get the global plugin name form the topology file. More... | |
static void | create_subnet_peers (struct GNUNET_CONFIGURATION_Handle *cfg, struct GNUNET_TESTING_NetjailTopology *topology, struct GNUNET_TESTING_NetjailSubnet *subnet) |
static void | create_subnets (struct GNUNET_CONFIGURATION_Handle *cfg, struct GNUNET_TESTING_NetjailTopology *topology, struct GNUNET_TESTING_NetjailCarrier *carrier) |
static void | create_peers (struct GNUNET_CONFIGURATION_Handle *cfg, struct GNUNET_TESTING_NetjailTopology *topology, struct GNUNET_TESTING_NetjailCarrier *carrier) |
struct GNUNET_TESTING_NetjailTopology * | GNUNET_TESTING_get_topo_from_string_ (const char *input) |
Parse the topology data. More... | |
#define LOG | ( | kind, | |
... | |||
) | GNUNET_log_from (kind, "testing-api", __VA_ARGS__) |
Definition at line 38 of file testing_api_topology.c.
#define CONNECT_ADDRESS_TEMPLATE "%s-192.168.15.%u" |
Definition at line 40 of file testing_api_topology.c.
#define ROUTER_CONNECT_ADDRESS_TEMPLATE "%s-92.68.150.%u" |
Definition at line 42 of file testing_api_topology.c.
#define KNOWN_CONNECT_ADDRESS_TEMPLATE "%s-92.68.151.%u" |
Definition at line 44 of file testing_api_topology.c.
#define PREFIX_TCP "tcp" |
Definition at line 46 of file testing_api_topology.c.
#define PREFIX_UDP "udp" |
Definition at line 48 of file testing_api_topology.c.
#define PREFIX_TCP_NATTED "tcp_natted" |
Definition at line 50 of file testing_api_topology.c.
#define PREFIX_UDP_NATTED "udp_natted" |
Definition at line 52 of file testing_api_topology.c.
|
static |
Every line in the topology configuration starts with a string indicating which kind of information will be configured with this line.
Configuration values following this string are separated by special sequences of characters. An integer value separated by ':' is returned by this function.
line | The line of configuration. Example: "a:42[:43]" |
Definition at line 65 of file testing_api_topology.c.
References dummy, GNUNET_assert, line, and ret.
|
static |
Every line in the topology configuration starts with a string indicating which kind of information will be configured with this line.
This string is returned by this function.
line | The line of configuration, e.g. "D:452" |
Definition at line 93 of file testing_api_topology.c.
References GNUNET_assert, GNUNET_strndup, and line.
|
static |
Every line in the topology configuration starts with a string indicating which kind of information will be configured with this line.
Configuration values following this string are separated by special sequences of characters. A string value separated by ':' is returned by this function.
line | The line of configuration ("FOO:BAR") |
Definition at line 114 of file testing_api_topology.c.
References GNUNET_assert, GNUNET_strdup, and line.
|
static |
Every line in the topology configuration starts with a string indicating which kind of information will be configured with this line.
Configuration values following this string are separated by special sequences of characters. A second integer value separated by ':' from a first value is returned by this function.
line | The line of configuration (example: "P:1:3") |
Definition at line 134 of file testing_api_topology.c.
References dummy, GNUNET_assert, line, and ret.
|
static |
Every line in the topology configuration starts with a string indicating which kind of information will be configured with this line.
Configuration values following this string are separated by special sequences of characters. A value might be a key value pair. This function returns the value for a specific key in a configuration line.
key | The key of the key value pair. |
Definition at line 164 of file testing_api_topology.c.
References GNUNET_strdup, key, and line.
|
static |
Every line in the topology configuration starts with a string indicating which kind of information will be configured with this line.
Configuration values following this string are separated by special sequences of characters. A value might be a key value pair. A special key is the 'connect' key which can appear more than once. The value is the information about a connection via some protocol to some other node. This function returns the struct GNUNET_TESTING_NodeConnection which holds the information of the connect value.
value | The value of the connect key value pair. |
Definition at line 204 of file testing_api_topology.c.
References GNUNET_TESTING_NodeConnection::address_prefixes_head, GNUNET_TESTING_NodeConnection::address_prefixes_tail, GNUNET_assert, GNUNET_break, GNUNET_CONTAINER_DLL_insert, GNUNET_ERROR_TYPE_DEBUG, GNUNET_ERROR_TYPE_ERROR, GNUNET_free, GNUNET_log_strerror, GNUNET_new, GNUNET_strdup, GNUNET_TESTING_GLOBAL_NODE, GNUNET_TESTING_SUBNET_NODE, line, LOG, GNUNET_TESTING_NodeConnection::namespace_n, GNUNET_TESTING_NetjailNode::namespace_n, GNUNET_TESTING_NodeConnection::node, GNUNET_TESTING_NodeConnection::node_n, GNUNET_TESTING_NetjailNode::node_n, GNUNET_TESTING_NodeConnection::node_type, and prefix.
Referenced by node_connections().
|
static |
Every line in the topology configuration starts with a string indicating which kind of information will be configured with this line.
Configuration values following this string are separated by special sequences of characters. A value might be a key value pair. A special key is the 'connect' key. The value is the information about a connections via some protocol to other nodes. Each connection itself is a key value pair separated by the character '|' and surrounded by the characters '{' and '}'. The struct GNUNET_TESTING_NodeConnection holds the information of each connection value. This function extracts the values of each connection into a DLL of struct GNUNET_TESTING_NodeConnection which will be added to a node.
line | The line of configuration. |
node | The struct GNUNET_TESTING_NetjailNode to which the DLL of struct GNUNET_TESTING_NodeConnection will be added. |
Definition at line 313 of file testing_api_topology.c.
References get_connect_value(), GNUNET_CONTAINER_DLL_insert, GNUNET_ERROR_TYPE_DEBUG, GNUNET_ERROR_TYPE_WARNING, GNUNET_free, GNUNET_strdup, line, LOG, GNUNET_TESTING_NodeConnection::node, GNUNET_TESTING_NetjailNode::node_connections_head, GNUNET_TESTING_NetjailNode::node_connections_tail, and value.
Referenced by get_node_info(), GNUNET_TESTING_get_additional_connects(), GNUNET_TESTING_get_connections(), and GNUNET_TESTING_get_node().
|
static |
A helper function to log information about individual nodes.
cls | This is not used actually. |
id | The key of this value in the map. |
value | A struct GNUNET_TESTING_NetjailNode which holds information about a node. return GNUNET_YES to continue with iterating, GNUNET_NO otherwise. |
Definition at line 366 of file testing_api_topology.c.
References GNUNET_TESTING_AddressPrefix::address_prefix, GNUNET_TESTING_NodeConnection::address_prefixes_head, GNUNET_ERROR_TYPE_DEBUG, GNUNET_YES, GNUNET_TESTING_NetjailNode::is_global, LOG, GNUNET_TESTING_NodeConnection::namespace_n, GNUNET_TESTING_NetjailNode::namespace_n, GNUNET_TESTING_AddressPrefix::next, GNUNET_TESTING_NodeConnection::next, GNUNET_TESTING_NetjailNode::node_connections_head, GNUNET_TESTING_NodeConnection::node_n, GNUNET_TESTING_NetjailNode::node_n, GNUNET_TESTING_NodeConnection::node_type, GNUNET_TESTING_NetjailNode::plugin, and value.
Referenced by log_namespaces(), and log_topo().
|
static |
Helper function to log information about namespaces.
cls | This is not used actually. |
id | The key of this value in the map. |
value | A struct GNUNET_TESTING_NetjailNamespace which holds information about a subnet. return GNUNET_YES to continue with iterating, GNUNET_NO otherwise. |
Definition at line 413 of file testing_api_topology.c.
References GNUNET_CONTAINER_multishortmap_iterate(), GNUNET_YES, log_nodes(), and value.
Referenced by log_topo().
|
static |
Helper function to log the configuration in case of a problem with configuration.
topology | The struct GNUNET_TESTING_NetjailTopology holding the configuration information. |
Definition at line 432 of file testing_api_topology.c.
References GNUNET_CONTAINER_multishortmap_iterate(), GNUNET_ERROR_TYPE_DEBUG, GNUNET_YES, LOG, log_namespaces(), log_nodes(), GNUNET_TESTING_NetjailTopology::map_globals, GNUNET_TESTING_NetjailTopology::map_namespaces, GNUNET_TESTING_NetjailTopology::namespaces_n, GNUNET_TESTING_NetjailTopology::nodes_m, GNUNET_TESTING_NetjailTopology::nodes_x, and GNUNET_TESTING_NetjailTopology::plugin.
Referenced by get_node_info().
|
static |
This function extracts information about a specific node from the topology.
num | The global index number of the node. | |
[out] | node_ex | A struct GNUNET_TESTING_NetjailNode with information about the node. |
[out] | namespace_ex | A struct GNUNET_TESTING_NetjailNamespace with information about the namespace the node is in or NULL, if the node is a global node. |
[out] | node_connections_ex | A struct GNUNET_TESTING_NodeConnection with information about the connection of this node to other nodes. |
Definition at line 460 of file testing_api_topology.c.
References GNUNET_TESTING_NetjailNode::additional_connects, GNUNET_CONTAINER_multishortmap_get(), GNUNET_CRYPTO_hash(), GNUNET_ERROR_TYPE_DEBUG, consensus-simulation::int, LOG, log_topo(), GNUNET_TESTING_NetjailTopology::map_globals, GNUNET_TESTING_NodeConnection::namespace_n, GNUNET_TESTING_NodeConnection::node, node_connections(), GNUNET_TESTING_NetjailNode::node_connections_head, GNUNET_TESTING_NetjailTopology::nodes_m, and GNUNET_TESTING_NetjailTopology::nodes_x.
Referenced by GNUNET_TESTING_get_additional_connects(), GNUNET_TESTING_get_connections(), and GNUNET_TESTING_get_node().
struct GNUNET_TESTING_NetjailNode * GNUNET_TESTING_get_node | ( | unsigned int | num, |
struct GNUNET_TESTING_NetjailTopology * | topology | ||
) |
Get a node from the topology.
num | The specific node we want the connections for. |
topology | The topology we get the connections from. |
Definition at line 542 of file testing_api_topology.c.
References get_node_info(), GNUNET_TESTING_NodeConnection::node, and node_connections().
struct GNUNET_TESTING_NodeConnection * GNUNET_TESTING_get_connections | ( | unsigned int | num, |
const struct GNUNET_TESTING_NetjailTopology * | topology | ||
) |
Get the connections to other nodes for a specific node.
num | The specific node we want the connections for. |
topology | The topology we get the connections from. |
Definition at line 564 of file testing_api_topology.c.
References get_node_info(), GNUNET_ERROR_TYPE_DEBUG, LOG, GNUNET_TESTING_NodeConnection::node, and node_connections().
Referenced by backchannel_check_run(), and connect_peers_run().
int free_nodes_cb | ( | void * | cls, |
const struct GNUNET_ShortHashCode * | key, | ||
void * | value | ||
) |
Definition at line 582 of file testing_api_topology.c.
References GNUNET_TESTING_AddressPrefix::address_prefix, GNUNET_TESTING_NodeConnection::address_prefixes_head, GNUNET_TESTING_NodeConnection::address_prefixes_tail, GNUNET_CONTAINER_DLL_remove, GNUNET_free, GNUNET_OK, GNUNET_TESTING_NetjailNode::node_connections_head, GNUNET_TESTING_NetjailNode::node_connections_tail, GNUNET_TESTING_NetjailNode::plugin, and value.
Referenced by free_namespaces_cb().
int free_namespaces_cb | ( | void * | cls, |
const struct GNUNET_ShortHashCode * | key, | ||
void * | value | ||
) |
Definition at line 614 of file testing_api_topology.c.
References free_nodes_cb(), GNUNET_CONTAINER_multishortmap_iterate(), GNUNET_free, GNUNET_OK, and value.
|
static |
Definition at line 630 of file testing_api_topology.c.
References GNUNET_free, GNUNET_OK, and value.
Referenced by free_carriers_cb(), free_subnets_cb(), and GNUNET_TESTING_free_topology().
|
static |
Definition at line 643 of file testing_api_topology.c.
References free_value_cb(), GNUNET_CONTAINER_multishortmap_iterate(), GNUNET_free, GNUNET_OK, GNUNET_TESTING_NetjailSubnet::peers, and value.
Referenced by free_carriers_cb().
|
static |
Definition at line 661 of file testing_api_topology.c.
References free_subnets_cb(), free_value_cb(), GNUNET_CONTAINER_multishortmap_iterate(), GNUNET_free, GNUNET_OK, GNUNET_TESTING_NetjailCarrier::peers, GNUNET_TESTING_NetjailCarrier::subnets, and value.
Referenced by GNUNET_TESTING_free_topology().
void GNUNET_TESTING_free_topology | ( | struct GNUNET_TESTING_NetjailTopology * | topology | ) |
Deallocate memory of the struct GNUNET_TESTING_NetjailTopology.
topology | The GNUNET_TESTING_NetjailTopology to be deallocated. |
Definition at line 687 of file testing_api_topology.c.
References GNUNET_TESTING_NetjailTopology::backbone_peers, GNUNET_TESTING_NetjailTopology::carriers, free_carriers_cb(), free_value_cb(), GNUNET_CONTAINER_multishortmap_iterate(), GNUNET_free, and GNUNET_TESTING_NetjailTopology::plugin.
Referenced by cleanup(), do_shutdown(), and netjail_exec_run().
unsigned int GNUNET_TESTING_calculate_num | ( | struct GNUNET_TESTING_NodeConnection * | node_connection, |
struct GNUNET_TESTING_NetjailTopology * | topology | ||
) |
Deallocate memory of the struct GNUNET_TESTING_NetjailTopology.
Calculate the unique id identifying a node from a given connection.
topology | The GNUNET_TESTING_NetjailTopology to be deallocated. |
void GNUNET_TESTING_free_topology (struct GNUNET_TESTING_NetjailTopology *topology) { GNUNET_CONTAINER_multishortmap_iterate (topology->map_namespaces, &free_namespaces_cb, NULL); GNUNET_CONTAINER_multishortmap_destroy (topology->map_namespaces); GNUNET_CONTAINER_multishortmap_iterate (topology->map_globals, &free_nodes_cb, NULL); GNUNET_CONTAINER_multishortmap_destroy (topology->map_globals); GNUNET_free (topology->plugin); GNUNET_free (topology); }
Definition at line 722 of file testing_api_topology.c.
References m, GNUNET_TESTING_NodeConnection::namespace_n, GNUNET_TESTING_NodeConnection::node_n, GNUNET_TESTING_NetjailTopology::nodes_m, and GNUNET_TESTING_NetjailTopology::nodes_x.
Referenced by connect_peers_run(), and notify_connect().
char * GNUNET_TESTING_get_address | ( | struct GNUNET_TESTING_NodeConnection * | connection, |
const char * | prefix | ||
) |
Get the address for a specific communicator from a connection.
connection | The connection we like to have the address from. |
prefix | The communicator protocol prefix. |
Definition at line 748 of file testing_api_topology.c.
References CONNECT_ADDRESS_TEMPLATE, GNUNET_asprintf(), GNUNET_assert, GNUNET_ERROR_TYPE_DEBUG, KNOWN_CONNECT_ADDRESS_TEMPLATE, LOG, GNUNET_TESTING_NodeConnection::namespace_n, GNUNET_TESTING_NetjailNode::namespace_n, GNUNET_TESTING_NodeConnection::node, GNUNET_TESTING_NodeConnection::node_n, GNUNET_TESTING_NetjailNode::node_n, prefix, PREFIX_TCP, PREFIX_TCP_NATTED, PREFIX_UDP, PREFIX_UDP_NATTED, and ROUTER_CONNECT_ADDRESS_TEMPLATE.
Referenced by connect_peers_run().
unsigned int GNUNET_TESTING_get_additional_connects | ( | unsigned int | num, |
struct GNUNET_TESTING_NetjailTopology * | topology | ||
) |
Get the number of unintentional additional connections the node waits for.
num | The specific node we want the additional connects for. |
Definition at line 808 of file testing_api_topology.c.
References GNUNET_TESTING_NetjailNode::additional_connects, get_node_info(), GNUNET_ERROR_TYPE_DEBUG, GNUNET_ERROR_TYPE_WARNING, LOG, and node_connections().
Referenced by GNUNET_CORE_cmd_connect_peers(), and GNUNET_TRANSPORT_cmd_connect_peers().
char * GNUNET_TESTING_get_plugin_from_topo | ( | struct GNUNET_TESTING_NetjailTopology * | njt, |
const char * | my_node_id | ||
) |
Get the global plugin name form the topology file.
Definition at line 838 of file testing_api_topology.c.
References njt, and GNUNET_TESTING_NetjailTopology::plugin.
Referenced by handle_helper_init().
|
static |
Definition at line 847 of file testing_api_topology.c.
References GNUNET_CONTAINER_MULTIHASHMAPOPTION_MULTIPLE, GNUNET_CONTAINER_multishortmap_create(), GNUNET_CONTAINER_multishortmap_put(), GNUNET_CRYPTO_hash(), GNUNET_new, GNUNET_NO, GNUNET_TESTING_NetjailSubnet::number_peers, GNUNET_TESTING_NetjailSubnet::peers, and GNUNET_TESTING_NetjailTopology::total.
Referenced by create_subnets().
|
static |
Definition at line 873 of file testing_api_topology.c.
References cfg, create_subnet_peers(), GNUNET_TESTING_NetjailTopology::default_subnet_peers, GNUNET_asprintf(), GNUNET_CONFIGURATION_get_value_number(), GNUNET_CONTAINER_MULTIHASHMAPOPTION_MULTIPLE, GNUNET_CONTAINER_multishortmap_create(), GNUNET_CONTAINER_multishortmap_put(), GNUNET_CRYPTO_hash(), GNUNET_free, GNUNET_new, GNUNET_NO, GNUNET_OK, GNUNET_TESTING_NetjailCarrier::index, GNUNET_TESTING_NetjailSubnet::index, GNUNET_TESTING_NetjailSubnet::number, GNUNET_TESTING_NetjailSubnet::number_peers, GNUNET_TESTING_NetjailCarrier::number_subnets, GNUNET_TESTING_NetjailCarrier::subnets, and GNUNET_TESTING_NetjailTopology::total.
Referenced by GNUNET_TESTING_get_topo_from_string_().
|
static |
Definition at line 914 of file testing_api_topology.c.
References GNUNET_CONTAINER_MULTIHASHMAPOPTION_MULTIPLE, GNUNET_CONTAINER_multishortmap_create(), GNUNET_CONTAINER_multishortmap_put(), GNUNET_CRYPTO_hash(), GNUNET_new, GNUNET_NO, GNUNET_TESTING_NetjailCarrierPeer::number, GNUNET_TESTING_NetjailCarrier::number_peers, GNUNET_TESTING_NetjailCarrier::peers, and GNUNET_TESTING_NetjailTopology::total.
Referenced by GNUNET_TESTING_get_topo_from_string_().
struct GNUNET_TESTING_NetjailTopology * GNUNET_TESTING_get_topo_from_string_ | ( | const char * | data | ) |
Parse the topology data.
data | The topology data. |
Definition at line 942 of file testing_api_topology.c.
References _, GNUNET_TESTING_NetjailTopology::backbone_peers, GNUNET_TESTING_NetjailTopology::carriers, cfg, create_peers(), create_subnets(), GNUNET_TESTING_NetjailTopology::default_carrier_peers, GNUNET_TESTING_NetjailTopology::default_subnet_peers, GNUNET_TESTING_NetjailTopology::default_subnets, GNUNET_asprintf(), GNUNET_assert, GNUNET_CONFIGURATION_create(), GNUNET_CONFIGURATION_deserialize(), GNUNET_CONFIGURATION_destroy(), GNUNET_CONFIGURATION_get_value_number(), GNUNET_CONFIGURATION_get_value_string(), GNUNET_CONTAINER_MULTIHASHMAPOPTION_MULTIPLE, GNUNET_CONTAINER_multishortmap_create(), GNUNET_CONTAINER_multishortmap_put(), GNUNET_CRYPTO_hash(), GNUNET_ERROR_TYPE_ERROR, GNUNET_ERROR_TYPE_INFO, GNUNET_free, GNUNET_log, GNUNET_new, GNUNET_NO, GNUNET_OK, LOG, GNUNET_TESTING_NetjailTopology::num_backbone_peers, GNUNET_TESTING_NetjailTopology::num_carriers, GNUNET_TESTING_NetjailBackbonePeer::number, GNUNET_TESTING_NetjailCarrier::number, GNUNET_TESTING_NetjailCarrier::number_peers, GNUNET_TESTING_NetjailCarrier::number_subnets, GNUNET_TESTING_NetjailTopology::plugin, and GNUNET_TESTING_NetjailTopology::total.
Referenced by handle_helper_init(), netjail_exec_run(), and run().