GNUnet  0.11.x
Data Fields
GSC_ClientActiveRequest Struct Reference

Record kept for each request for transmission issued by a client that is still pending. More...

#include </home/handbook/gnunet/src/core/gnunet-service-core.h>

Collaboration diagram for GSC_ClientActiveRequest:
[legend]

Data Fields

struct GSC_ClientActiveRequestnext
 Active requests are kept in a doubly-linked list of the respective target peer. More...
 
struct GSC_ClientActiveRequestprev
 Active requests are kept in a doubly-linked list of the respective target peer. More...
 
struct GSC_Clientclient_handle
 Handle to the client. More...
 
struct GNUNET_PeerIdentity target
 Which peer is the message going to be for? More...
 
struct GNUNET_TIME_Absolute received_time
 At what time did we first see this request? More...
 
struct GNUNET_TIME_Absolute deadline
 By what time would the client want to see this message out? More...
 
enum GNUNET_MQ_PriorityPreferences priority
 How important is this request. More...
 
int was_solicited
 Has this request been solicited yet? More...
 
uint16_t msize
 How many bytes does the client intend to send? More...
 
uint16_t smr_id
 Unique request ID (in big endian). More...
 

Detailed Description

Record kept for each request for transmission issued by a client that is still pending.

(This struct is used by both the 'CLIENTS' and 'SESSIONS' subsystems.)

Definition at line 46 of file gnunet-service-core.h.

Field Documentation

◆ next

struct GSC_ClientActiveRequest* GSC_ClientActiveRequest::next

Active requests are kept in a doubly-linked list of the respective target peer.

Definition at line 52 of file gnunet-service-core.h.

Referenced by solicit_messages(), and try_transmission().

◆ prev

struct GSC_ClientActiveRequest* GSC_ClientActiveRequest::prev

Active requests are kept in a doubly-linked list of the respective target peer.

Definition at line 58 of file gnunet-service-core.h.

◆ client_handle

struct GSC_Client* GSC_ClientActiveRequest::client_handle

◆ target

struct GNUNET_PeerIdentity GSC_ClientActiveRequest::target

◆ received_time

struct GNUNET_TIME_Absolute GSC_ClientActiveRequest::received_time

At what time did we first see this request?

Definition at line 73 of file gnunet-service-core.h.

Referenced by GSC_CLIENTS_solicit_request(), handle_client_send(), and handle_client_send_request().

◆ deadline

struct GNUNET_TIME_Absolute GSC_ClientActiveRequest::deadline

By what time would the client want to see this message out?

Definition at line 78 of file gnunet-service-core.h.

Referenced by GSC_CLIENTS_solicit_request(), and handle_client_send_request().

◆ priority

enum GNUNET_MQ_PriorityPreferences GSC_ClientActiveRequest::priority

How important is this request.

Definition at line 83 of file gnunet-service-core.h.

Referenced by GSC_CLIENTS_solicit_request(), handle_client_send_request(), solicit_messages(), and try_transmission().

◆ was_solicited

int GSC_ClientActiveRequest::was_solicited

Has this request been solicited yet?

Definition at line 88 of file gnunet-service-core.h.

Referenced by handle_client_send_request(), solicit_messages(), and try_transmission().

◆ msize

uint16_t GSC_ClientActiveRequest::msize

How many bytes does the client intend to send?

Definition at line 93 of file gnunet-service-core.h.

Referenced by GSC_CLIENTS_solicit_request(), GSC_SESSIONS_queue_request(), handle_client_send_request(), solicit_messages(), and try_transmission().

◆ smr_id

uint16_t GSC_ClientActiveRequest::smr_id

Unique request ID (in big endian).

Definition at line 98 of file gnunet-service-core.h.

Referenced by GSC_CLIENTS_solicit_request(), and handle_client_send_request().


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