GNUnet 0.21.1
ConnectPeersState Struct Reference

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

#include </home/buildbot/bb-worker/worker/gnunet_firefly/build/src/service/transport/transport-testing-cmds.h>

Collaboration diagram for ConnectPeersState:
[legend]

Data Fields

struct GNUNET_TESTING_AsyncContext ac
 Context for our asynchronous completion. More...
 
GNUNET_TESTING_notify_connect_cb notify_connect
 
const struct GNUNET_TESTING_Systemtl_system
 The testing system of this node. More...
 
const char * create_label
 
uint32_t num
 Number globally identifying the node. More...
 
const char * start_peer_label
 Label of the cmd to start a peer. More...
 
struct GNUNET_TESTING_NetjailTopologytopology
 The topology of the test setup. More...
 
struct GNUNET_TESTING_NodeConnectionnode_connections_head
 Connections to other peers. More...
 
struct GNUNET_TESTING_Interpreteris
 
unsigned int con_num
 Number of connections. More...
 
unsigned int additional_connects
 Number of additional connects this cmd will wait for not triggered by this cmd. More...
 
unsigned int con_num_notified
 Number of connections we already have a notification for. More...
 
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. More...
 
unsigned int wait_for_connect
 Flag indicating, whether the command is waiting for peers to connect that are configured to connect. More...
 

Detailed Description

Struct to store information needed in callbacks.

Definition at line 39 of file transport-testing-cmds.h.

Field Documentation

◆ ac

struct GNUNET_TESTING_AsyncContext ConnectPeersState::ac

Context for our asynchronous completion.

Definition at line 44 of file transport-testing-cmds.h.

Referenced by GNUNET_TRANSPORT_cmd_connect_peers(), and notify_connect().

◆ notify_connect

GNUNET_TESTING_notify_connect_cb ConnectPeersState::notify_connect

Definition at line 46 of file transport-testing-cmds.h.

Referenced by GNUNET_TRANSPORT_cmd_connect_peers().

◆ tl_system

const struct GNUNET_TESTING_System* ConnectPeersState::tl_system

The testing system of this node.

Definition at line 51 of file transport-testing-cmds.h.

Referenced by connect_peers_run(), and notify_connect().

◆ create_label

const char* ConnectPeersState::create_label

◆ num

uint32_t ConnectPeersState::num

Number globally identifying the node.

Definition at line 60 of file transport-testing-cmds.h.

Referenced by connect_peers_run(), and GNUNET_TRANSPORT_cmd_connect_peers().

◆ start_peer_label

const char* ConnectPeersState::start_peer_label

Label of the cmd to start a peer.

Definition at line 66 of file transport-testing-cmds.h.

Referenced by connect_peers_run(), and GNUNET_TRANSPORT_cmd_connect_peers().

◆ topology

struct GNUNET_TESTING_NetjailTopology* ConnectPeersState::topology

The topology of the test setup.

Definition at line 71 of file transport-testing-cmds.h.

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

◆ node_connections_head

struct GNUNET_TESTING_NodeConnection* ConnectPeersState::node_connections_head

Connections to other peers.

Definition at line 76 of file transport-testing-cmds.h.

Referenced by connect_peers_run(), and notify_connect().

◆ is

struct GNUNET_TESTING_Interpreter* ConnectPeersState::is

Definition at line 78 of file transport-testing-cmds.h.

Referenced by connect_peers_run().

◆ con_num

unsigned int ConnectPeersState::con_num

Number of connections.

Definition at line 83 of file transport-testing-cmds.h.

Referenced by connect_peers_run(), and notify_connect().

◆ additional_connects

unsigned int ConnectPeersState::additional_connects

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

Definition at line 88 of file transport-testing-cmds.h.

Referenced by GNUNET_TRANSPORT_cmd_connect_peers(), and notify_connect().

◆ con_num_notified

unsigned int ConnectPeersState::con_num_notified

Number of connections we already have a notification for.

Definition at line 93 of file transport-testing-cmds.h.

Referenced by notify_connect().

◆ additional_connects_notified

unsigned int 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 98 of file transport-testing-cmds.h.

Referenced by notify_connect().

◆ wait_for_connect

unsigned int ConnectPeersState::wait_for_connect

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

Definition at line 103 of file transport-testing-cmds.h.

Referenced by connect_peers_run(), and GNUNET_TRANSPORT_cmd_connect_peers().


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