GNUnet  0.19.5
GNUNET_TESTBED_Peer Struct Reference

A peer controlled by the testing framework. More...

#include </home/buildbot/bb-worker/worker/gnunet_firefly/build/src/testbed/testbed_api_peers.h>

Collaboration diagram for GNUNET_TESTBED_Peer:
[legend]

Data Fields

struct GNUNET_TESTBED_Peernext
 peer list DLL More...
 
struct GNUNET_TESTBED_Peerprev
 peer list DLL More...
 
struct GNUNET_TESTBED_Controllercontroller
 Our controller context (not necessarily the controller that is responsible for starting/running the peer!). More...
 
struct GNUNET_TESTBED_Hosthost
 Which host does this peer run on? More...
 
uint32_t unique_id
 Globally unique ID of the peer. More...
 
enum PeerState state
 Peer's state. More...
 
uint8_t underlay_model_exists
 Has an underlay model already set for this peer? More...
 

Detailed Description

A peer controlled by the testing framework.

A peer runs at a particular host.

Definition at line 66 of file testbed_api_peers.h.

Field Documentation

◆ next

struct GNUNET_TESTBED_Peer* GNUNET_TESTBED_Peer::next

peer list DLL

Definition at line 71 of file testbed_api_peers.h.

◆ prev

struct GNUNET_TESTBED_Peer* GNUNET_TESTBED_Peer::prev

peer list DLL

Definition at line 76 of file testbed_api_peers.h.

◆ controller

◆ host

struct GNUNET_TESTBED_Host* GNUNET_TESTBED_Peer::host

Which host does this peer run on?

Definition at line 87 of file testbed_api_peers.h.

Referenced by GNUNET_TESTBED_overlay_connect(), GNUNET_TESTBED_peer_create(), and handle_peer_event().

◆ unique_id

uint32_t GNUNET_TESTBED_Peer::unique_id

◆ state

◆ underlay_model_exists

uint8_t GNUNET_TESTBED_Peer::underlay_model_exists

Has an underlay model already set for this peer?

Definition at line 102 of file testbed_api_peers.h.

Referenced by GNUNET_TESTBED_underlaylinkmodel_create(), and GNUNET_TESTBED_underlaylinkmodel_free().


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