GNUnet  0.11.x
Data Fields
RequestContext Struct Reference

State we keep for a request that is going out via CADET. More...

Collaboration diagram for RequestContext:
[legend]

Data Fields

struct RequestContextnext
 We keep these in a DLL. More...
 
struct RequestContextprev
 We keep these in a DLL. More...
 
struct CadetExitexit
 Exit that was chosen for this request. More...
 
struct GNUNET_DNS_RequestHandlerh
 Handle for interaction with DNS service. More...
 
struct GNUNET_MQ_Envelopeenv
 Envelope with the request we are transmitting. More...
 
struct GNUNET_SCHEDULER_Tasktimeout_task
 Task used to abort this operation with timeout. More...
 
uint16_t mlen
 Length of the request message that follows this struct. More...
 
uint16_t dns_id
 ID of the original DNS request (used to match the reply). More...
 

Detailed Description

State we keep for a request that is going out via CADET.

Definition at line 185 of file gnunet-daemon-pt.c.

Field Documentation

◆ next

struct RequestContext* RequestContext::next

We keep these in a DLL.

Definition at line 190 of file gnunet-daemon-pt.c.

Referenced by handle_dns_response().

◆ prev

struct RequestContext* RequestContext::prev

We keep these in a DLL.

Definition at line 195 of file gnunet-daemon-pt.c.

◆ exit

struct CadetExit* RequestContext::exit

Exit that was chosen for this request.

Definition at line 200 of file gnunet-daemon-pt.c.

Referenced by cadet_channel_end_cb(), dns_pre_request_handler(), and timeout_request().

◆ rh

struct GNUNET_DNS_RequestHandle* RequestContext::rh

Handle for interaction with DNS service.

Definition at line 205 of file gnunet-daemon-pt.c.

Referenced by abort_all_requests(), dns_pre_request_handler(), handle_dns_response(), and timeout_request().

◆ env

struct GNUNET_MQ_Envelope* RequestContext::env

Envelope with the request we are transmitting.

Definition at line 210 of file gnunet-daemon-pt.c.

Referenced by abort_all_requests(), cadet_channel_end_cb(), dns_pre_request_handler(), and handle_dns_response().

◆ timeout_task

struct GNUNET_SCHEDULER_Task* RequestContext::timeout_task

Task used to abort this operation with timeout.

Definition at line 215 of file gnunet-daemon-pt.c.

Referenced by abort_all_requests(), dns_pre_request_handler(), and handle_dns_response().

◆ mlen

uint16_t RequestContext::mlen

Length of the request message that follows this struct.

Definition at line 220 of file gnunet-daemon-pt.c.

◆ dns_id

uint16_t RequestContext::dns_id

ID of the original DNS request (used to match the reply).

Definition at line 225 of file gnunet-daemon-pt.c.

Referenced by dns_pre_request_handler(), and handle_dns_response().


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