Information about pending lookups. More...
Data Fields | |
| struct ActiveLookup * | next |
| Stored in a DLL. | |
| struct ActiveLookup * | prev |
| Stored in a DLL. | |
| struct GNUNET_SERVICE_Client * | client |
| The client that queried the records contained in this cache entry. | |
| struct GNUNET_DNSSTUB_RequestSocket * | resolve_handle |
| handle for cancelling a request | |
| struct GNUNET_SCHEDULER_Task * | timeout_task |
| handle for the resolution timeout task | |
| char * | hostname |
| Which hostname are we resolving? | |
| int | did_aaaa |
| If record_type is GNUNET_DNSPARSER_TYPE_ALL, did we go again for the AAAA records yet? | |
| uint16_t | record_type |
| type of queried DNS record | |
| uint32_t | client_request_id |
| Unique request ID of a client if a query for this hostname/record_type is currently pending, undefined otherwise. | |
| uint16_t | dns_id |
| Unique DNS request ID of a client if a query for this hostname/record_type is currently pending, undefined otherwise. | |
Information about pending lookups.
Definition at line 100 of file gnunet-service-resolver.c.
| struct ActiveLookup* ActiveLookup::next |
Stored in a DLL.
Definition at line 105 of file gnunet-service-resolver.c.
Referenced by disconnect_cb().
| struct ActiveLookup* ActiveLookup::prev |
Stored in a DLL.
Definition at line 110 of file gnunet-service-resolver.c.
| 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().
| 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().
| 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().
| 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().
| 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().
| 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().
| 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().
| 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().