GNUnet  0.11.x
Data Fields
GNUNET_TESTING_NodeConnection Struct Reference

Connection to another node. More...

#include <gnunet_testing_ng_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_ADDRESS_PREFIXaddress_prefixes_head
 Head of the DLL with the address prefixes for the protocolls this node is reachable. More...
 
struct GNUNET_TESTING_ADDRESS_PREFIXaddress_prefixes_tail
 Tail of the DLL with the address prefixes for the protocolls this node is reachable. More...
 

Detailed Description

Connection to another node.

// FIXME: this does not belong here!

Definition at line 112 of file gnunet_testing_ng_lib.h.

Field Documentation

◆ prev

struct GNUNET_TESTING_NodeConnection* GNUNET_TESTING_NodeConnection::prev

Pointer to the previous connection in the DLL.

Definition at line 117 of file gnunet_testing_ng_lib.h.

◆ next

struct GNUNET_TESTING_NodeConnection* GNUNET_TESTING_NodeConnection::next

Pointer to the next connection in the DLL.

Definition at line 122 of file gnunet_testing_ng_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 128 of file gnunet_testing_ng_lib.h.

Referenced by calculate_num(), get_address(), get_connect_value(), and log_nodes().

◆ node_n

unsigned int GNUNET_TESTING_NodeConnection::node_n

The number of the node this connection points to.

Definition at line 133 of file gnunet_testing_ng_lib.h.

Referenced by calculate_num(), get_address(), get_connect_value(), 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 133 of file gnunet_testing_ng_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 143 of file gnunet_testing_ng_lib.h.

Referenced by get_address(), get_connect_value(), and node_connections().

◆ address_prefixes_head

struct GNUNET_TESTING_ADDRESS_PREFIX* GNUNET_TESTING_NodeConnection::address_prefixes_head

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

Definition at line 148 of file gnunet_testing_ng_lib.h.

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

◆ address_prefixes_tail

struct GNUNET_TESTING_ADDRESS_PREFIX* GNUNET_TESTING_NodeConnection::address_prefixes_tail

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

Definition at line 153 of file gnunet_testing_ng_lib.h.

Referenced by get_connect_value().


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