GNUnet 0.21.1
GNUNET_TESTING_NetjailNode Struct Reference

Node in the netjail topology. More...

#include <gnunet_testing_netjail_lib.h>

Collaboration diagram for GNUNET_TESTING_NetjailNode:
[legend]

Data Fields

struct GNUNET_TESTING_NodeConnectionnode_connections_head
 Head of the DLL with the connections which shall be established to other nodes. More...
 
struct GNUNET_TESTING_NodeConnectionnode_connections_tail
 Tail of the DLL with the connections which shall be established to other nodes. More...
 
char * plugin
 Plugin for the test case to be run on this node. More...
 
unsigned int is_global
 Flag indicating if this node is a global known node. More...
 
unsigned int namespace_n
 The number of the subnet this node is running in. More...
 
unsigned int node_n
 The number of this node in the subnet. More...
 
unsigned int node_number
 The overall number of the node in the whole test system. More...
 
unsigned int additional_connects
 The number of unintentional additional connections this node waits for. More...
 
unsigned int expected_reaches
 The number of cmds waiting for a specific barrier. More...
 

Detailed Description

Node in the netjail topology.

Definition at line 144 of file gnunet_testing_netjail_lib.h.

Field Documentation

◆ node_connections_head

struct GNUNET_TESTING_NodeConnection* GNUNET_TESTING_NetjailNode::node_connections_head

Head of the DLL with the connections which shall be established to other nodes.

Definition at line 149 of file gnunet_testing_netjail_lib.h.

Referenced by free_nodes_cb(), get_node_info(), log_nodes(), node_connections(), and will_the_other_node_connect_via_udp().

◆ node_connections_tail

struct GNUNET_TESTING_NodeConnection* GNUNET_TESTING_NetjailNode::node_connections_tail

Tail of the DLL with the connections which shall be established to other nodes.

Definition at line 154 of file gnunet_testing_netjail_lib.h.

Referenced by free_nodes_cb(), and node_connections().

◆ plugin

char* GNUNET_TESTING_NetjailNode::plugin

Plugin for the test case to be run on this node.

Definition at line 159 of file gnunet_testing_netjail_lib.h.

Referenced by free_nodes_cb(), GNUNET_TESTING_get_topo_from_string(), log_nodes(), and start_helper().

◆ is_global

unsigned int GNUNET_TESTING_NetjailNode::is_global

Flag indicating if this node is a global known node.

Definition at line 164 of file gnunet_testing_netjail_lib.h.

Referenced by GNUNET_TESTING_get_topo_from_string(), and log_nodes().

◆ namespace_n

unsigned int GNUNET_TESTING_NetjailNode::namespace_n

◆ node_n

unsigned int GNUNET_TESTING_NetjailNode::node_n

◆ node_number

unsigned int GNUNET_TESTING_NetjailNode::node_number

The overall number of the node in the whole test system.

Definition at line 179 of file gnunet_testing_netjail_lib.h.

Referenced by barrier_attached(), free_barrier_node_cb(), and start_helper().

◆ additional_connects

unsigned int GNUNET_TESTING_NetjailNode::additional_connects

The number of unintentional additional connections this node waits for.

This overwrites the global additional_connects value.

Definition at line 184 of file gnunet_testing_netjail_lib.h.

Referenced by get_node_info(), GNUNET_TESTING_get_additional_connects(), and parse_ac().

◆ expected_reaches

unsigned int GNUNET_TESTING_NetjailNode::expected_reaches

The number of cmds waiting for a specific barrier.

Definition at line 189 of file gnunet_testing_netjail_lib.h.

Referenced by barrier_attached(), and start_helper().


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