GNUnet  0.11.x
Data Fields
GNUNET_TRANSPORT_TESTING_PeerContext Struct Reference

Context for a single peer. More...

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

Collaboration diagram for GNUNET_TRANSPORT_TESTING_PeerContext:
[legend]

Data Fields

struct GNUNET_TRANSPORT_TESTING_PeerContextnext
 Next element in the DLL. More...
 
struct GNUNET_TRANSPORT_TESTING_PeerContextprev
 Previous element in the DLL. More...
 
struct GNUNET_TRANSPORT_TESTING_Handletth
 Transport testing handle this peer belongs to. More...
 
struct GNUNET_CONFIGURATION_Handlecfg
 Peer's configuration. More...
 
struct GNUNET_TRANSPORT_CoreHandleth
 Peer's transport service handle. More...
 
struct GNUNET_TRANSPORT_ManipulationHandletmh
 Peer's transport service manipulation handle. More...
 
struct GNUNET_ATS_ConnectivityHandleats
 Peer's ATS handle. More...
 
struct GNUNET_TRANSPORT_HelloGetHandleghh
 Peer's transport get hello handle to retrieve peer's HELLO message. More...
 
struct GNUNET_TESTING_Peerpeer
 Peer's testing handle. More...
 
struct GNUNET_PeerIdentity id
 Peer identity. More...
 
struct GNUNET_OS_Processarm_proc
 Handle for the peer's ARM process. More...
 
struct GNUNET_MQ_MessageHandlerhandlers
 Receive callback. More...
 
GNUNET_TRANSPORT_NotifyConnect nc
 Notify connect callback. More...
 
GNUNET_TRANSPORT_NotifyDisconnect nd
 Notify disconnect callback. More...
 
GNUNET_SCHEDULER_TaskCallback start_cb
 Startup completed callback. More...
 
struct GNUNET_HELLO_Messagehello
 Peers HELLO Message. More...
 
void * cb_cls
 Closure for the nc and nd callbacks. More...
 
void * start_cb_cls
 Closure for start_cb. More...
 
unsigned int no
 An unique number to identify the peer. More...
 
struct GNUNET_TRANSPORT_ApplicationHandleah
 Application handle. More...
 
struct GNUNET_PEERSTORE_Handleph
 Peer's PEERSTORE Handle. 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...
 
struct GNUNET_SCHEDULER_Taskrh_task
 Hello get task. More...
 

Detailed Description

Context for a single peer.

Definition at line 54 of file transport-testing.h.

Field Documentation

◆ next

struct GNUNET_TRANSPORT_TESTING_PeerContext * GNUNET_TRANSPORT_TESTING_PeerContext::next

Next element in the DLL.

Definition at line 59 of file transport-testing.h.

Referenced by find_peer_context(), and GNUNET_TRANSPORT_TESTING_done().

◆ prev

struct GNUNET_TRANSPORT_TESTING_PeerContext * GNUNET_TRANSPORT_TESTING_PeerContext::prev

Previous element in the DLL.

Definition at line 64 of file transport-testing.h.

◆ tth

struct GNUNET_TRANSPORT_TESTING_Handle * GNUNET_TRANSPORT_TESTING_PeerContext::tth

◆ cfg

struct GNUNET_CONFIGURATION_Handle * GNUNET_TRANSPORT_TESTING_PeerContext::cfg

◆ th

struct GNUNET_TRANSPORT_CoreHandle * GNUNET_TRANSPORT_TESTING_PeerContext::th

◆ tmh

struct GNUNET_TRANSPORT_ManipulationHandle* GNUNET_TRANSPORT_TESTING_PeerContext::tmh

Peer's transport service manipulation handle.

Definition at line 84 of file transport-testing.h.

Referenced by GNUNET_TRANSPORT_TESTING_restart_peer(), GNUNET_TRANSPORT_TESTING_start_peer(), and GNUNET_TRANSPORT_TESTING_stop_peer().

◆ ats

struct GNUNET_ATS_ConnectivityHandle * GNUNET_TRANSPORT_TESTING_PeerContext::ats

◆ ghh

struct GNUNET_TRANSPORT_HelloGetHandle* GNUNET_TRANSPORT_TESTING_PeerContext::ghh

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

Definition at line 94 of file transport-testing.h.

Referenced by GNUNET_TRANSPORT_TESTING_restart_peer(), GNUNET_TRANSPORT_TESTING_start_peer(), and GNUNET_TRANSPORT_TESTING_stop_peer().

◆ peer

struct GNUNET_TESTING_Peer * GNUNET_TRANSPORT_TESTING_PeerContext::peer

◆ id

struct GNUNET_PeerIdentity GNUNET_TRANSPORT_TESTING_PeerContext::id

◆ arm_proc

struct GNUNET_OS_Process * GNUNET_TRANSPORT_TESTING_PeerContext::arm_proc

Handle for the peer's ARM process.

Definition at line 109 of file transport-testing.h.

◆ handlers

struct GNUNET_MQ_MessageHandler * GNUNET_TRANSPORT_TESTING_PeerContext::handlers

◆ nc

GNUNET_TRANSPORT_NotifyConnect GNUNET_TRANSPORT_TESTING_PeerContext::nc

Notify connect callback.

Definition at line 119 of file transport-testing.h.

Referenced by GNUNET_TRANSPORT_TESTING_start_peer(), and notify_connect().

◆ nd

GNUNET_TRANSPORT_NotifyDisconnect GNUNET_TRANSPORT_TESTING_PeerContext::nd

Notify disconnect callback.

Definition at line 124 of file transport-testing.h.

Referenced by GNUNET_TRANSPORT_TESTING_start_peer(), and notify_disconnect().

◆ start_cb

GNUNET_SCHEDULER_TaskCallback GNUNET_TRANSPORT_TESTING_PeerContext::start_cb

Startup completed callback.

Definition at line 129 of file transport-testing.h.

Referenced by get_hello(), GNUNET_TRANSPORT_TESTING_restart_peer(), GNUNET_TRANSPORT_TESTING_start_peer(), and hello_iter_cb().

◆ hello [1/2]

struct GNUNET_HELLO_Message* GNUNET_TRANSPORT_TESTING_PeerContext::hello

Peers HELLO Message.

Definition at line 134 of file transport-testing.h.

Referenced by get_hello(), GNUNET_TRANSPORT_TESTING_stop_peer(), hello_iter_cb(), and offer_hello().

◆ cb_cls

void * GNUNET_TRANSPORT_TESTING_PeerContext::cb_cls

Closure for the nc and nd callbacks.

Definition at line 139 of file transport-testing.h.

Referenced by get_hello(), GNUNET_TRANSPORT_TESTING_start_peer(), hello_iter_cb(), notify_connect(), and notify_disconnect().

◆ start_cb_cls

void * GNUNET_TRANSPORT_TESTING_PeerContext::start_cb_cls

◆ no

unsigned int GNUNET_TRANSPORT_TESTING_PeerContext::no

◆ ah

struct GNUNET_TRANSPORT_ApplicationHandle* GNUNET_TRANSPORT_TESTING_PeerContext::ah

Application handle.

Definition at line 75 of file transport-testing2.h.

Referenced by GNUNET_TRANSPORT_TESTING_start_peer(), GNUNET_TRANSPORT_TESTING_stop_peer(), and offer_hello().

◆ ph

struct GNUNET_PEERSTORE_Handle* GNUNET_TRANSPORT_TESTING_PeerContext::ph

◆ pic

struct GNUNET_PEERSTORE_IterateContext* GNUNET_TRANSPORT_TESTING_PeerContext::pic

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

Definition at line 100 of file transport-testing2.h.

Referenced by GNUNET_TRANSPORT_TESTING_restart_peer(), GNUNET_TRANSPORT_TESTING_stop_peer(), hello_iter_cb(), and retrieve_hello().

◆ hello [2/2]

char* GNUNET_TRANSPORT_TESTING_PeerContext::hello

Hello.

Definition at line 105 of file transport-testing2.h.

◆ hello_size

size_t GNUNET_TRANSPORT_TESTING_PeerContext::hello_size

Hello size.

Definition at line 110 of file transport-testing2.h.

Referenced by hello_iter_cb(), and offer_hello().

◆ rh_task

struct GNUNET_SCHEDULER_Task* GNUNET_TRANSPORT_TESTING_PeerContext::rh_task

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