GNUnet 0.28.1-dev.5-1-gae1c02d74
 
Loading...
Searching...
No Matches
PeerRequest Struct Reference

Information per peer and request. More...

Collaboration diagram for PeerRequest:
[legend]

Data Fields

struct GSF_PendingRequestpr
 Handle to generic request (generic: from peer or local client).
 
struct GSF_ConnectedPeercp
 Which specific peer issued this request?
 
struct GNUNET_SCHEDULER_Taskkill_task
 Task for asynchronous stopping of this request.
 
struct GNUNET_PeerIdentity pid
 Which peer is this about?
 
struct TransportClienttc
 Client responsible for the request.
 
struct GNUNET_PEERSTORE_Monitornc
 Notify context for new HELLOs.
 
struct GNUNET_SCHEDULER_Taskretry_task
 Task that keeps trying to bring the link to pid up for as long as this request exists.
 
struct GNUNET_TIME_Relative retry_backoff
 Current delay between two runs of retry_task, growing from SUGGEST_RETRY_MIN to SUGGEST_RETRY_MAX.
 
enum GNUNET_MQ_PriorityPreferences pk
 What kind of performance preference does this tc have?
 
struct GNUNET_BANDWIDTH_Value32NBO bw
 How much bandwidth would this tc like to see?
 

Detailed Description

Information per peer and request.

A peer that an application (client) would like us to talk to directly.

Definition at line 145 of file gnunet-service-fs_cp.c.

Field Documentation

◆ pr

◆ cp

struct GSF_ConnectedPeer* PeerRequest::cp

Which specific peer issued this request?

Definition at line 155 of file gnunet-service-fs_cp.c.

Referenced by free_pending_request(), handle_p2p_get(), and handle_p2p_reply().

◆ kill_task

struct GNUNET_SCHEDULER_Task* PeerRequest::kill_task

Task for asynchronous stopping of this request.

Definition at line 160 of file gnunet-service-fs_cp.c.

Referenced by free_pending_request(), handle_p2p_reply(), and peer_request_destroy().

◆ pid

struct GNUNET_PeerIdentity PeerRequest::pid

Which peer is this about?

Definition at line 2392 of file gnunet-service-transport.c.

Referenced by start_peer_request_monitor(), stop_peer_request(), and suggest_retry_cb().

◆ tc

struct TransportClient* PeerRequest::tc

Client responsible for the request.

Definition at line 2397 of file gnunet-service-transport.c.

◆ nc

struct GNUNET_PEERSTORE_Monitor* PeerRequest::nc

Notify context for new HELLOs.

Definition at line 2402 of file gnunet-service-transport.c.

Referenced by handle_hello_for_client(), and start_peer_request_monitor().

◆ retry_task

struct GNUNET_SCHEDULER_Task* PeerRequest::retry_task

Task that keeps trying to bring the link to pid up for as long as this request exists.

Never NULL while the request is alive.

Definition at line 2408 of file gnunet-service-transport.c.

Referenced by suggest_retry_cb().

◆ retry_backoff

struct GNUNET_TIME_Relative PeerRequest::retry_backoff

Current delay between two runs of retry_task, growing from SUGGEST_RETRY_MIN to SUGGEST_RETRY_MAX.

Definition at line 2414 of file gnunet-service-transport.c.

Referenced by suggest_retry_cb().

◆ pk

enum GNUNET_MQ_PriorityPreferences PeerRequest::pk

What kind of performance preference does this tc have?

TODO: use this!

Definition at line 2421 of file gnunet-service-transport.c.

◆ bw

struct GNUNET_BANDWIDTH_Value32NBO PeerRequest::bw

How much bandwidth would this tc like to see?

Definition at line 2426 of file gnunet-service-transport.c.


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