Context for a single peer. More...
#include </home/buildbot/bb-worker/worker/gnunet_firefly/build/src/transport/transport-testing.h>
Data Fields | |
struct GNUNET_TRANSPORT_TESTING_PeerContext * | next |
Next element in the DLL. More... | |
struct GNUNET_TRANSPORT_TESTING_PeerContext * | prev |
Previous element in the DLL. More... | |
struct GNUNET_TRANSPORT_TESTING_Handle * | tth |
Transport testing handle this peer belongs to. More... | |
struct GNUNET_CONFIGURATION_Handle * | cfg |
Peer's configuration. More... | |
struct GNUNET_TRANSPORT_CoreHandle * | th |
Peer's transport service handle. More... | |
struct GNUNET_TRANSPORT_ManipulationHandle * | tmh |
Peer's transport service manipulation handle. More... | |
struct GNUNET_ATS_ConnectivityHandle * | ats |
Peer's ATS handle. More... | |
struct GNUNET_TRANSPORT_HelloGetHandle * | ghh |
Peer's transport get hello handle to retrieve peer's HELLO message. More... | |
struct GNUNET_TESTING_Peer * | peer |
Peer's testing handle. More... | |
struct GNUNET_PeerIdentity | id |
Peer identity. More... | |
struct GNUNET_OS_Process * | arm_proc |
Handle for the peer's ARM process. More... | |
struct GNUNET_MQ_MessageHandler * | handlers |
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_Message * | hello |
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_ApplicationHandle * | ah |
Application handle. More... | |
struct GNUNET_PEERSTORE_Handle * | ph |
Peer's PEERSTORE Handle. More... | |
struct GNUNET_PEERSTORE_IterateContext * | pic |
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_Task * | rh_task |
Hello get task. More... | |
Context for a single peer.
Definition at line 54 of file transport-testing.h.
struct GNUNET_TRANSPORT_TESTING_PeerContext * GNUNET_TRANSPORT_TESTING_PeerContext::next |
Next element in the DLL.
Definition at line 59 of file transport-testing.h.
struct GNUNET_TRANSPORT_TESTING_PeerContext * GNUNET_TRANSPORT_TESTING_PeerContext::prev |
Previous element in the DLL.
Definition at line 64 of file transport-testing.h.
struct GNUNET_TRANSPORT_TESTING_Handle * GNUNET_TRANSPORT_TESTING_PeerContext::tth |
Transport testing handle this peer belongs to.
Definition at line 69 of file transport-testing.h.
Referenced by find_peer_context(), GNUNET_TRANSPORT_TESTING_connect_peers(), GNUNET_TRANSPORT_TESTING_connect_peers_cancel(), GNUNET_TRANSPORT_TESTING_done(), and GNUNET_TRANSPORT_TESTING_find_connecting_context().
struct GNUNET_CONFIGURATION_Handle * GNUNET_TRANSPORT_TESTING_PeerContext::cfg |
Peer's configuration.
Definition at line 74 of file transport-testing.h.
Referenced by gnunet_testing.Peer::__del__(), gnunet_testing.Peer::get_statistics_value(), offer_hello(), gnunet_testing.Peer::start(), and gnunet_testing.Peer::stop().
struct GNUNET_TRANSPORT_CoreHandle * GNUNET_TRANSPORT_TESTING_PeerContext::th |
Peer's transport service handle.
Definition at line 79 of file transport-testing.h.
struct GNUNET_TRANSPORT_ManipulationHandle* GNUNET_TRANSPORT_TESTING_PeerContext::tmh |
Peer's transport service manipulation handle.
Definition at line 84 of file transport-testing.h.
struct GNUNET_ATS_ConnectivityHandle * GNUNET_TRANSPORT_TESTING_PeerContext::ats |
Peer's ATS handle.
Definition at line 89 of file transport-testing.h.
Referenced by GNUNET_TRANSPORT_TESTING_connect_peers(), and notify_disconnect().
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.
struct GNUNET_TESTING_Peer * GNUNET_TRANSPORT_TESTING_PeerContext::peer |
Peer's testing handle.
Definition at line 99 of file transport-testing.h.
Referenced by gnunet_testing.StatisticsCondition::check(), gnunet_testing.EqualStatisticsCondition::check(), gnunet_testing.StatisticsCondition::evaluate(), and gnunet_testing.EqualStatisticsCondition::evaluate().
struct GNUNET_PeerIdentity GNUNET_TRANSPORT_TESTING_PeerContext::id |
Peer identity.
Definition at line 99 of file transport-testing.h.
Referenced by connect_cb(), do_connect(), GNUNET_TRANSPORT_TESTING_connect_peers(), GNUNET_TRANSPORT_TESTING_find_peer(), GNUNET_TRANSPORT_TESTING_send(), notify_connect(), notify_disconnect(), offer_hello(), and gnunet_testing.Peer::start().
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.
struct GNUNET_MQ_MessageHandler * GNUNET_TRANSPORT_TESTING_PeerContext::handlers |
Receive callback.
Definition at line 114 of file transport-testing.h.
GNUNET_TRANSPORT_NotifyConnect GNUNET_TRANSPORT_TESTING_PeerContext::nc |
Notify connect callback.
Definition at line 119 of file transport-testing.h.
GNUNET_TRANSPORT_NotifyDisconnect GNUNET_TRANSPORT_TESTING_PeerContext::nd |
Notify disconnect callback.
Definition at line 124 of file transport-testing.h.
GNUNET_SCHEDULER_TaskCallback GNUNET_TRANSPORT_TESTING_PeerContext::start_cb |
Startup completed callback.
Definition at line 129 of file transport-testing.h.
struct GNUNET_HELLO_Message* GNUNET_TRANSPORT_TESTING_PeerContext::hello |
Peers HELLO Message.
Definition at line 134 of file transport-testing.h.
Referenced by offer_hello().
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(), and hello_iter_cb().
void * GNUNET_TRANSPORT_TESTING_PeerContext::start_cb_cls |
Closure for start_cb.
Definition at line 144 of file transport-testing.h.
unsigned int GNUNET_TRANSPORT_TESTING_PeerContext::no |
An unique number to identify the peer.
Definition at line 149 of file transport-testing.h.
Referenced by connect_cb(), do_connect(), GNUNET_TRANSPORT_TESTING_send(), notify_connect(), notify_disconnect(), and offer_hello().
struct GNUNET_TRANSPORT_ApplicationHandle* GNUNET_TRANSPORT_TESTING_PeerContext::ah |
Application handle.
Definition at line 75 of file transport-testing2.h.
Referenced by offer_hello().
struct GNUNET_PEERSTORE_Handle* GNUNET_TRANSPORT_TESTING_PeerContext::ph |
Peer's PEERSTORE Handle.
Definition at line 95 of file transport-testing2.h.
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.
char* GNUNET_TRANSPORT_TESTING_PeerContext::hello |
Hello.
Definition at line 105 of file transport-testing2.h.
size_t GNUNET_TRANSPORT_TESTING_PeerContext::hello_size |
struct GNUNET_SCHEDULER_Task* GNUNET_TRANSPORT_TESTING_PeerContext::rh_task |
Hello get task.
Definition at line 150 of file transport-testing2.h.