GNUnet 0.22.2
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 68 of file gnunet-service-resolver.c.

Field Documentation

◆ next

struct ResolveCache* ResolveCache::next

This is a doubly linked list.

Definition at line 73 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 78 of file gnunet-service-resolver.c.

◆ hostname

char* ResolveCache::hostname

Which hostname is this cache for?

Definition at line 83 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 88 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 93 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: