GNUnet  0.11.x
Data Fields
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_WatchContextwc
 Handle for watching the peerstore for HELLOs for this peer. 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 148 of file gnunet-service-fs_cp.c.

Field Documentation

◆ pr

struct GSF_PendingRequest* PeerRequest::pr

◆ cp

struct GSF_ConnectedPeer* PeerRequest::cp

Which specific peer issued this request?

Definition at line 158 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 163 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 1998 of file gnunet-service-tng.c.

Referenced by handle_hello_for_client(), handle_suggest(), and handle_suggest_cancel().

◆ tc

struct TransportClient* PeerRequest::tc

Client responsible for the request.

Definition at line 2003 of file gnunet-service-tng.c.

Referenced by handle_suggest().

◆ wc

struct GNUNET_PEERSTORE_WatchContext* PeerRequest::wc

Handle for watching the peerstore for HELLOs for this peer.

Definition at line 2008 of file gnunet-service-tng.c.

Referenced by handle_suggest(), and stop_peer_request().

◆ pk

enum GNUNET_MQ_PriorityPreferences PeerRequest::pk

What kind of performance preference does this tc have?

TODO: use this!

Definition at line 2015 of file gnunet-service-tng.c.

Referenced by handle_suggest().

◆ bw

struct GNUNET_BANDWIDTH_Value32NBO PeerRequest::bw

How much bandwidth would this tc like to see?

Definition at line 2020 of file gnunet-service-tng.c.

Referenced by handle_suggest().


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