GNUnet 0.22.2
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). More...
 
struct GSF_ConnectedPeercp
 Which specific peer issued this request? More...
 
struct GNUNET_SCHEDULER_Taskkill_task
 Task for asynchronous stopping of this request. More...
 
struct GNUNET_PeerIdentity pid
 Which peer is this about? More...
 
struct TransportClienttc
 Client responsible for the request. More...
 
struct GNUNET_PEERSTORE_Monitornc
 Notify context for new HELLOs. More...
 
enum GNUNET_MQ_PriorityPreferences pk
 What kind of performance preference does this tc have? More...
 
struct GNUNET_BANDWIDTH_Value32NBO bw
 How much bandwidth would this tc like to see? More...
 

Detailed Description

Information per peer and request.

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

Definition at line 143 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 153 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 158 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 2176 of file gnunet-service-transport.c.

◆ tc

struct TransportClient* PeerRequest::tc

Client responsible for the request.

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

◆ nc

struct GNUNET_PEERSTORE_Monitor* PeerRequest::nc

Notify context for new HELLOs.

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

Referenced by handle_hello_for_client().

◆ pk

enum GNUNET_MQ_PriorityPreferences PeerRequest::pk

What kind of performance preference does this tc have?

TODO: use this!

Definition at line 2193 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 2198 of file gnunet-service-transport.c.


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