GNUnet debian-0.24.3-29-g453fda2cf
 
Loading...
Searching...
No Matches
GNUNET_TESTING_ConnectPeersState Struct Reference

Struct to store information needed in callbacks. More...

#include <gnunet_testing_core_lib.h>

Collaboration diagram for GNUNET_TESTING_ConnectPeersState:
[legend]

Data Fields

struct GNUNET_MQ_MessageHandlerhandlers
 Receive callback.
 
struct GNUNET_CONTAINER_MultiShortmapconnected_peers_map
 A map with struct GNUNET_MQ_Handle values for each peer this peer is connected to.
 
struct GNUNET_TRANSPORT_ApplicationHandleah
 Handle for transport.
 
struct GNUNET_TRANSPORT_CoreHandleth
 Core handle.
 
struct GNUNET_TESTING_AsyncContext ac
 Context for our asynchronous completion.
 
const struct GNUNET_TESTBED_Systemtl_system
 The testing system of this node.
 
const char * create_label
 
uint32_t num
 Number globally identifying the node.
 
const char * start_peer_label
 Label of the cmd to start a peer.
 
struct GNUNET_TESTING_NetjailTopologytopology
 The topology of the test setup.
 
struct GNUNET_TESTING_NodeConnectionnode_connections_head
 Connections to other peers.
 
struct GNUNET_TESTING_Interpreteris
 
unsigned int con_num
 Number of connections.
 
unsigned int additional_connects
 Number of additional connects this cmd will wait for not triggered by this cmd.
 
unsigned int con_num_notified
 Number of connections we already have a notification for.
 
unsigned int additional_connects_notified
 Number of additional connects this cmd will wait for not triggered by this cmd we already have a notification for.
 
unsigned int wait_for_connect
 Flag indicating, whether the command is waiting for peers to connect that are configured to connect.
 

Detailed Description

Struct to store information needed in callbacks.

Definition at line 42 of file gnunet_testing_core_lib.h.

Field Documentation

◆ handlers

struct GNUNET_MQ_MessageHandler* GNUNET_TESTING_ConnectPeersState::handlers

Receive callback.

Definition at line 47 of file gnunet_testing_core_lib.h.

Referenced by GNUNET_CORE_cmd_connect_peers(), and GNUNET_TESTING_cmd_transport_connect_peers().

◆ connected_peers_map

struct GNUNET_CONTAINER_MultiShortmap* GNUNET_TESTING_ConnectPeersState::connected_peers_map

A map with struct GNUNET_MQ_Handle values for each peer this peer is connected to.

Definition at line 53 of file gnunet_testing_core_lib.h.

Referenced by connect_peers_cleanup(), connect_peers_cleanup(), GNUNET_CORE_cmd_connect_peers(), and GNUNET_TESTING_cmd_transport_connect_peers().

◆ ah

struct GNUNET_TRANSPORT_ApplicationHandle* GNUNET_TESTING_ConnectPeersState::ah

Handle for transport.

Definition at line 58 of file gnunet_testing_core_lib.h.

Referenced by connect_peers_run(), and connect_peers_run().

◆ th

struct GNUNET_TRANSPORT_CoreHandle* GNUNET_TESTING_ConnectPeersState::th

Core handle.

Definition at line 63 of file gnunet_testing_core_lib.h.

◆ ac

struct GNUNET_TESTING_AsyncContext GNUNET_TESTING_ConnectPeersState::ac

Context for our asynchronous completion.

Definition at line 68 of file gnunet_testing_core_lib.h.

Referenced by GNUNET_CORE_cmd_connect_peers(), and GNUNET_TESTING_cmd_transport_connect_peers().

◆ tl_system

const struct GNUNET_TESTBED_System* GNUNET_TESTING_ConnectPeersState::tl_system

The testing system of this node.

Definition at line 73 of file gnunet_testing_core_lib.h.

Referenced by connect_peers_run(), and connect_peers_run().

◆ create_label

const char* GNUNET_TESTING_ConnectPeersState::create_label

◆ num

uint32_t GNUNET_TESTING_ConnectPeersState::num

Number globally identifying the node.

Definition at line 82 of file gnunet_testing_core_lib.h.

Referenced by connect_peers_run(), connect_peers_run(), GNUNET_CORE_cmd_connect_peers(), and GNUNET_TESTING_cmd_transport_connect_peers().

◆ start_peer_label

const char* GNUNET_TESTING_ConnectPeersState::start_peer_label

◆ topology

struct GNUNET_TESTING_NetjailTopology* GNUNET_TESTING_ConnectPeersState::topology

◆ node_connections_head

struct GNUNET_TESTING_NodeConnection* GNUNET_TESTING_ConnectPeersState::node_connections_head

Connections to other peers.

Definition at line 98 of file gnunet_testing_core_lib.h.

Referenced by connect_peers_run(), and connect_peers_run().

◆ is

struct GNUNET_TESTING_Interpreter* GNUNET_TESTING_ConnectPeersState::is

Definition at line 100 of file gnunet_testing_core_lib.h.

Referenced by connect_peers_run(), and connect_peers_run().

◆ con_num

unsigned int GNUNET_TESTING_ConnectPeersState::con_num

Number of connections.

Definition at line 105 of file gnunet_testing_core_lib.h.

Referenced by connect_peers_run(), and connect_peers_run().

◆ additional_connects

unsigned int GNUNET_TESTING_ConnectPeersState::additional_connects

Number of additional connects this cmd will wait for not triggered by this cmd.

Definition at line 110 of file gnunet_testing_core_lib.h.

Referenced by GNUNET_CORE_cmd_connect_peers(), and GNUNET_TESTING_cmd_transport_connect_peers().

◆ con_num_notified

unsigned int GNUNET_TESTING_ConnectPeersState::con_num_notified

Number of connections we already have a notification for.

Definition at line 115 of file gnunet_testing_core_lib.h.

◆ additional_connects_notified

unsigned int GNUNET_TESTING_ConnectPeersState::additional_connects_notified

Number of additional connects this cmd will wait for not triggered by this cmd we already have a notification for.

Definition at line 120 of file gnunet_testing_core_lib.h.

◆ wait_for_connect

unsigned int GNUNET_TESTING_ConnectPeersState::wait_for_connect

Flag indicating, whether the command is waiting for peers to connect that are configured to connect.

Definition at line 125 of file gnunet_testing_core_lib.h.

Referenced by GNUNET_CORE_cmd_connect_peers(), and GNUNET_TESTING_cmd_transport_connect_peers().


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