Context information for remote overlay connect operations. More...
Data Fields | |
struct RemoteOverlayConnectCtx * | next |
the next pointer for DLL More... | |
struct RemoteOverlayConnectCtx * | prev |
the prev pointer for DLL More... | |
struct Peer * | peer |
The peer handle of peer B. More... | |
struct GNUNET_MessageHeader * | hello |
Peer A's HELLO. More... | |
struct GNUNET_TRANSPORT_OfferHelloHandle * | ohh |
The handle for offering HELLO. More... | |
struct ConnectivitySuggestContext | tcc |
The transport try connect context. More... | |
struct GNUNET_PeerIdentity | a_id |
The peer identity of peer A. More... | |
struct GNUNET_SCHEDULER_Task * | attempt_connect_task_id |
Task for offering HELLO of A to B and doing try_connect. More... | |
struct GNUNET_SCHEDULER_Task * | timeout_rocc_task_id |
Task to timeout RequestOverlayConnect. More... | |
uint64_t | op_id |
The id of the operation responsible for creating this context. More... | |
Context information for remote overlay connect operations.
Remote overlay connections are used when peers A and B reside on different hosts. In these operations the host controller for peer B is asked by the host controller of peer A to make peer B connect to peer A by sending the controller of peer B the HELLO of peer A.
Definition at line 275 of file gnunet-service-testbed_oc.c.
struct RemoteOverlayConnectCtx* RemoteOverlayConnectCtx::next |
the next pointer for DLL
Definition at line 280 of file gnunet-service-testbed_oc.c.
struct RemoteOverlayConnectCtx* RemoteOverlayConnectCtx::prev |
the prev pointer for DLL
Definition at line 285 of file gnunet-service-testbed_oc.c.
struct Peer* RemoteOverlayConnectCtx::peer |
The peer handle of peer B.
Definition at line 290 of file gnunet-service-testbed_oc.c.
Referenced by attempt_connect_task(), gnunet_testing.StatisticsCondition::check(), gnunet_testing.EqualStatisticsCondition::check(), cleanup_rocc(), gnunet_testing.StatisticsCondition::evaluate(), gnunet_testing.EqualStatisticsCondition::evaluate(), handle_remote_overlay_connect(), rocc_cache_get_handle_transport_cb(), and rocc_hello_sent_cb().
struct GNUNET_MessageHeader* RemoteOverlayConnectCtx::hello |
Peer A's HELLO.
Definition at line 295 of file gnunet-service-testbed_oc.c.
Referenced by attempt_connect_task(), cleanup_rocc(), and handle_remote_overlay_connect().
struct GNUNET_TRANSPORT_OfferHelloHandle* RemoteOverlayConnectCtx::ohh |
The handle for offering HELLO.
Definition at line 300 of file gnunet-service-testbed_oc.c.
Referenced by attempt_connect_task(), cleanup_rocc(), and rocc_hello_sent_cb().
struct ConnectivitySuggestContext RemoteOverlayConnectCtx::tcc |
The transport try connect context.
Definition at line 300 of file gnunet-service-testbed_oc.c.
Referenced by attempt_connect_task(), cleanup_rocc(), handle_remote_overlay_connect(), occ_cache_get_handle_ats_rocc_cb(), rocc_cache_get_handle_transport_cb(), and rocc_hello_sent_cb().
struct GNUNET_PeerIdentity RemoteOverlayConnectCtx::a_id |
The peer identity of peer A.
Definition at line 300 of file gnunet-service-testbed_oc.c.
Referenced by attempt_connect_task(), cache_transport_peer_connect_notify(), handle_remote_overlay_connect(), occ_cache_get_handle_ats_rocc_cb(), rocc_cache_get_handle_transport_cb(), and rocc_hello_sent_cb().
struct GNUNET_SCHEDULER_Task* RemoteOverlayConnectCtx::attempt_connect_task_id |
Task for offering HELLO of A to B and doing try_connect.
Definition at line 315 of file gnunet-service-testbed_oc.c.
Referenced by attempt_connect_task(), cleanup_rocc(), rocc_cache_get_handle_transport_cb(), and rocc_hello_sent_cb().
struct GNUNET_SCHEDULER_Task* RemoteOverlayConnectCtx::timeout_rocc_task_id |
Task to timeout RequestOverlayConnect.
Definition at line 320 of file gnunet-service-testbed_oc.c.
Referenced by cleanup_rocc(), handle_remote_overlay_connect(), rocc_cache_get_handle_transport_cb(), and timeout_rocc_task().
uint64_t RemoteOverlayConnectCtx::op_id |
The id of the operation responsible for creating this context.
Definition at line 325 of file gnunet-service-testbed_oc.c.
Referenced by attempt_connect_task(), cache_transport_peer_connect_notify(), cleanup_rocc(), handle_remote_overlay_connect(), rocc_cache_get_handle_transport_cb(), rocc_hello_sent_cb(), and timeout_rocc_task().