GNUnet 0.21.1
ResolveCache Struct Reference

A cached DNS lookup result. More...

Collaboration diagram for ResolveCache:
[legend]

Data Fields

struct ResolveCachenext
 This is a doubly linked list. More...
 
struct ResolveCacheprev
 This is a doubly linked list. More...
 
char * hostname
 Which hostname is this cache for? More...
 
struct RecordListEntryrecords_head
 head of a double linked list containing the lookup results More...
 
struct RecordListEntryrecords_tail
 tail of a double linked list containing the lookup results More...
 

Detailed Description

A cached DNS lookup result.

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

Field Documentation

◆ next

struct ResolveCache* ResolveCache::next

This is a doubly linked list.

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

Referenced by cache_answers(), and try_cache().

◆ prev

struct ResolveCache* ResolveCache::prev

This is a doubly linked list.

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

◆ hostname

char* ResolveCache::hostname

Which hostname is this cache for?

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

Referenced by add_host(), cache_answers(), free_cache_entry(), free_hosts_entry(), and try_cache().

◆ records_head

struct RecordListEntry* ResolveCache::records_head

head of a double linked list containing the lookup results

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

Referenced by add_host(), cache_answers(), free_cache_entry(), free_hosts_entry(), remove_expired(), and try_cache().

◆ records_tail

struct RecordListEntry* ResolveCache::records_tail

tail of a double linked list containing the lookup results

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

Referenced by add_host(), cache_answers(), free_cache_entry(), free_hosts_entry(), and remove_expired().


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