GNUnet  0.18.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_NODE_TYPE 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 99 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 104 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 109 of file gnunet_testing_netjail_lib.h.

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

◆ 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 115 of file gnunet_testing_netjail_lib.h.

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

◆ node_n

unsigned int GNUNET_TESTING_NodeConnection::node_n

The number of the node this connection points to.

Definition at line 120 of file gnunet_testing_netjail_lib.h.

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

◆ node_type

enum GNUNET_TESTING_NODE_TYPE GNUNET_TESTING_NodeConnection::node_type

The type of the node this connection points to.

Definition at line 120 of file gnunet_testing_netjail_lib.h.

Referenced by get_connect_value(), and log_nodes().

◆ node

struct GNUNET_TESTING_NetjailNode* GNUNET_TESTING_NodeConnection::node

The node which establish the connection.

Definition at line 130 of file gnunet_testing_netjail_lib.h.

Referenced by get_connect_value(), get_node_info(), GNUNET_TESTING_get_address(), GNUNET_TESTING_get_connections(), and node_connections().

◆ 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 135 of file gnunet_testing_netjail_lib.h.

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

◆ 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 140 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: