GNUnet 0.21.1
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 183 of file gnunet-daemon-pt.c.

Field Documentation

◆ next

struct RequestContext* RequestContext::next

We keep these in a DLL.

Definition at line 188 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 193 of file gnunet-daemon-pt.c.

◆ exit

struct CadetExit* RequestContext::exit

Exit that was chosen for this request.

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

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

◆ rh

struct GNUNET_DNS_RequestHandle* RequestContext::rh

Handle for interaction with DNS service.

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

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

◆ env

◆ timeout_task

struct GNUNET_SCHEDULER_Task* RequestContext::timeout_task

Task used to abort this operation with timeout.

Definition at line 213 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 218 of file gnunet-daemon-pt.c.

Referenced by handle_dns_response().

◆ dns_id

uint16_t RequestContext::dns_id

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

Definition at line 223 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: