GNUnet  0.20.0
StartPeerState Struct Reference

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

Collaboration diagram for StartPeerState:
[legend]

Data Fields

struct GNUNET_TESTING_AsyncContext ac
 Context for our asynchronous completion. More...
 
char * node_ip
 The ip of a node. More...
 
struct GNUNET_MQ_MessageHandlerhandlers
 Receive callback. More...
 
char * cfgname
 GNUnet configuration file used to start a peer. More...
 
struct GNUNET_CONFIGURATION_Handlecfg
 Peer's configuration. More...
 
struct GNUNET_TESTING_Peerpeer
 struct GNUNET_TESTING_Peer returned by GNUNET_TESTING_peer_configure. More...
 
struct GNUNET_PeerIdentity id
 Peer identity. More...
 
struct GNUNET_TRANSPORT_CoreHandleth
 Peer's transport service handle. More...
 
struct GNUNET_TRANSPORT_ApplicationHandleah
 Application handle. More...
 
struct GNUNET_PEERSTORE_Handleph
 Peer's PEERSTORE Handle. More...
 
struct GNUNET_SCHEDULER_Taskrh_task
 Hello get task. More...
 
struct GNUNET_PEERSTORE_IterateContextpic
 Peer's transport get hello handle to retrieve peer's HELLO message. More...
 
char * hello
 Hello. More...
 
size_t hello_size
 Hello size. More...
 
char * system_label
 The label of the command which was started by calling GNUNET_TESTING_cmd_system_create. More...
 
unsigned int no
 An unique number to identify the peer. More...
 
struct GNUNET_CONTAINER_MultiShortmapconnected_peers_map
 A map with struct GNUNET_MQ_Handle values for each peer this peer is connected to. More...
 
const struct GNUNET_TESTING_Systemtl_system
 Test setup for this peer. More...
 
GNUNET_TRANSPORT_notify_connect_cb notify_connect
 Callback which is called on neighbour connect events. More...
 
enum GNUNET_GenericReturnValue broadcast
 Flag indicating, if udp broadcast should be switched on. More...
 

Detailed Description

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

Field Documentation

◆ ac

struct GNUNET_TESTING_AsyncContext StartPeerState::ac

Context for our asynchronous completion.

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

Referenced by hello_iter_cb(), and notify_connect().

◆ node_ip

char* StartPeerState::node_ip

The ip of a node.

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

Referenced by start_peer_cleanup(), and start_peer_run().

◆ handlers

struct GNUNET_MQ_MessageHandler* StartPeerState::handlers

Receive callback.

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

Referenced by start_peer_cleanup(), and start_peer_run().

◆ cfgname

char* StartPeerState::cfgname

GNUnet configuration file used to start a peer.

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

Referenced by start_peer_cleanup(), and start_peer_run().

◆ cfg

◆ peer

◆ id

◆ th

struct GNUNET_TRANSPORT_CoreHandle* StartPeerState::th

Peer's transport service handle.

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

Referenced by start_peer_run(), and stop_peer_run().

◆ ah

struct GNUNET_TRANSPORT_ApplicationHandle* StartPeerState::ah

Application handle.

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

Referenced by start_peer_run(), start_peer_traits(), and stop_peer_run().

◆ ph

struct GNUNET_PEERSTORE_Handle* StartPeerState::ph

Peer's PEERSTORE Handle.

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

Referenced by retrieve_hello(), start_peer_run(), and stop_peer_run().

◆ rh_task

struct GNUNET_SCHEDULER_Task* StartPeerState::rh_task

Hello get task.

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

Referenced by hello_iter_cb(), retrieve_hello(), start_peer_run(), and stop_peer_run().

◆ pic

struct GNUNET_PEERSTORE_IterateContext* StartPeerState::pic

Peer's transport get hello handle to retrieve peer's HELLO message.

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

Referenced by hello_iter_cb(), retrieve_hello(), and stop_peer_run().

◆ hello

char* StartPeerState::hello

Hello.

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

Referenced by hello_iter_cb(), start_peer_cleanup(), and start_peer_traits().

◆ hello_size

size_t StartPeerState::hello_size

Hello size.

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

Referenced by hello_iter_cb(), and start_peer_traits().

◆ system_label

char* StartPeerState::system_label

The label of the command which was started by calling GNUNET_TESTING_cmd_system_create.

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

Referenced by start_peer_cleanup(), and start_peer_run().

◆ no

unsigned int StartPeerState::no

An unique number to identify the peer.

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

Referenced by notify_connect(), notify_disconnect(), start_peer_run(), and stop_peer_run().

◆ connected_peers_map

struct GNUNET_CONTAINER_MultiShortmap* StartPeerState::connected_peers_map

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

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

Referenced by notify_connect(), start_peer_cleanup(), and start_peer_traits().

◆ tl_system

const struct GNUNET_TESTING_System* StartPeerState::tl_system

Test setup for this peer.

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

Referenced by start_peer_run().

◆ notify_connect

GNUNET_TRANSPORT_notify_connect_cb StartPeerState::notify_connect

Callback which is called on neighbour connect events.

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

Referenced by notify_connect().

◆ broadcast

enum GNUNET_GenericReturnValue StartPeerState::broadcast

Flag indicating, if udp broadcast should be switched on.

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

Referenced by start_peer_run().


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