GNUnet 0.21.1
GNUNET_TESTING_NodeConnection Struct Reference

Connection to another node. More...

#include <gnunet_testing_netjail_lib.h>

Collaboration diagram for GNUNET_TESTING_NodeConnection:
[legend]

Data Fields

struct GNUNET_TESTING_NodeConnectionprev
 Pointer to the previous connection in the DLL. More...
 
struct GNUNET_TESTING_NodeConnectionnext
 Pointer to the next connection in the DLL. More...
 
unsigned int namespace_n
 The number of the subnet of the node this connection points to. More...
 
unsigned int node_n
 The number of the node this connection points to. More...
 
enum GNUNET_TESTING_NodeType node_type
 The type of the node this connection points to. More...
 
struct GNUNET_TESTING_NetjailNodenode
 The node which establish the connection. More...
 
struct GNUNET_TESTING_AddressPrefixaddress_prefixes_head
 Head of the DLL with the address prefixes for the protocolls this node is reachable. More...
 
struct GNUNET_TESTING_AddressPrefixaddress_prefixes_tail
 Tail of the DLL with the address prefixes for the protocolls this node is reachable. More...
 

Detailed Description

Connection to another node.

Definition at line 97 of file gnunet_testing_netjail_lib.h.

Field Documentation

◆ prev

struct GNUNET_TESTING_NodeConnection* GNUNET_TESTING_NodeConnection::prev

Pointer to the previous connection in the DLL.

Definition at line 102 of file gnunet_testing_netjail_lib.h.

◆ next

struct GNUNET_TESTING_NodeConnection* GNUNET_TESTING_NodeConnection::next

Pointer to the next connection in the DLL.

Definition at line 107 of file gnunet_testing_netjail_lib.h.

Referenced by connect_peers_run(), log_nodes(), notify_connect(), and will_the_other_node_connect_via_udp().

◆ namespace_n

unsigned int GNUNET_TESTING_NodeConnection::namespace_n

The number of the subnet of the node this connection points to.

This is 0, if the node is a global known node.

Definition at line 113 of file gnunet_testing_netjail_lib.h.

Referenced by get_connect_value(), get_node_info(), GNUNET_TESTING_calculate_num(), GNUNET_TESTING_get_address(), log_nodes(), and will_the_other_node_connect_via_udp().

◆ node_n

unsigned int GNUNET_TESTING_NodeConnection::node_n

The number of the node this connection points to.

Definition at line 118 of file gnunet_testing_netjail_lib.h.

Referenced by get_connect_value(), GNUNET_TESTING_calculate_num(), GNUNET_TESTING_get_address(), log_nodes(), and will_the_other_node_connect_via_udp().

◆ node_type

enum GNUNET_TESTING_NodeType GNUNET_TESTING_NodeConnection::node_type

The type of the node this connection points to.

Definition at line 123 of file gnunet_testing_netjail_lib.h.

Referenced by get_connect_value(), and log_nodes().

◆ node

struct GNUNET_TESTING_NetjailNode* GNUNET_TESTING_NodeConnection::node

◆ address_prefixes_head

struct GNUNET_TESTING_AddressPrefix* GNUNET_TESTING_NodeConnection::address_prefixes_head

Head of the DLL with the address prefixes for the protocolls this node is reachable.

Definition at line 133 of file gnunet_testing_netjail_lib.h.

Referenced by connect_peers_run(), free_nodes_cb(), get_connect_value(), log_nodes(), and will_the_other_node_connect_via_udp().

◆ address_prefixes_tail

struct GNUNET_TESTING_AddressPrefix* GNUNET_TESTING_NodeConnection::address_prefixes_tail

Tail of the DLL with the address prefixes for the protocolls this node is reachable.

Definition at line 138 of file gnunet_testing_netjail_lib.h.

Referenced by free_nodes_cb(), and get_connect_value().


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