GNUnet 0.22.1
ActiveLookup Struct Reference

Information about pending lookups. More...

Collaboration diagram for ActiveLookup:
[legend]

Data Fields

struct ActiveLookupnext
 Stored in a DLL. More...
 
struct ActiveLookupprev
 Stored in a DLL. More...
 
struct GNUNET_SERVICE_Clientclient
 The client that queried the records contained in this cache entry. More...
 
struct GNUNET_DNSSTUB_RequestSocketresolve_handle
 handle for cancelling a request More...
 
struct GNUNET_SCHEDULER_Tasktimeout_task
 handle for the resolution timeout task More...
 
char * hostname
 Which hostname are we resolving? More...
 
int did_aaaa
 If record_type is GNUNET_DNSPARSER_TYPE_ALL, did we go again for the AAAA records yet? More...
 
uint16_t record_type
 type of queried DNS record More...
 
uint32_t client_request_id
 Unique request ID of a client if a query for this hostname/record_type is currently pending, undefined otherwise. More...
 
uint16_t dns_id
 Unique DNS request ID of a client if a query for this hostname/record_type is currently pending, undefined otherwise. More...
 

Detailed Description

Information about pending lookups.

Definition at line 100 of file gnunet-service-resolver.c.

Field Documentation

◆ next

struct ActiveLookup* ActiveLookup::next

Stored in a DLL.

Definition at line 105 of file gnunet-service-resolver.c.

Referenced by disconnect_cb().

◆ prev

struct ActiveLookup* ActiveLookup::prev

Stored in a DLL.

Definition at line 110 of file gnunet-service-resolver.c.

◆ client

struct GNUNET_SERVICE_Client* ActiveLookup::client

The client that queried the records contained in this cache entry.

Definition at line 115 of file gnunet-service-resolver.c.

Referenced by handle_resolve_result(), handle_resolve_timeout(), process_get(), and resolve_and_cache().

◆ resolve_handle

struct GNUNET_DNSSTUB_RequestSocket* ActiveLookup::resolve_handle

handle for cancelling a request

Definition at line 120 of file gnunet-service-resolver.c.

Referenced by free_active_lookup(), handle_resolve_result(), and resolve_and_cache().

◆ timeout_task

struct GNUNET_SCHEDULER_Task* ActiveLookup::timeout_task

handle for the resolution timeout task

Definition at line 125 of file gnunet-service-resolver.c.

Referenced by free_active_lookup(), handle_resolve_timeout(), and resolve_and_cache().

◆ hostname

char* ActiveLookup::hostname

Which hostname are we resolving?

Definition at line 130 of file gnunet-service-resolver.c.

Referenced by free_active_lookup(), handle_resolve_result(), process_get(), and resolve_and_cache().

◆ did_aaaa

int ActiveLookup::did_aaaa

If record_type is GNUNET_DNSPARSER_TYPE_ALL, did we go again for the AAAA records yet?

Definition at line 136 of file gnunet-service-resolver.c.

Referenced by handle_resolve_result().

◆ record_type

uint16_t ActiveLookup::record_type

type of queried DNS record

Definition at line 141 of file gnunet-service-resolver.c.

Referenced by handle_resolve_result(), process_get(), and resolve_and_cache().

◆ client_request_id

uint32_t ActiveLookup::client_request_id

Unique request ID of a client if a query for this hostname/record_type is currently pending, undefined otherwise.

Definition at line 147 of file gnunet-service-resolver.c.

Referenced by handle_resolve_result(), handle_resolve_timeout(), process_get(), and resolve_and_cache().

◆ dns_id

uint16_t ActiveLookup::dns_id

Unique DNS request ID of a client if a query for this hostname/record_type is currently pending, undefined otherwise.

Definition at line 153 of file gnunet-service-resolver.c.

Referenced by handle_resolve_result(), and resolve_and_cache().


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