GNUnet  0.19.4
AuthorityChain Struct Reference

DLL to hold the authority chain we had to pass in the resolution process. More...

Collaboration diagram for AuthorityChain:
[legend]

Data Fields

struct AuthorityChainprev
 This is a DLL. More...
 
struct AuthorityChainnext
 This is a DLL. More...
 
struct GNS_ResolverHandlerh
 Resolver handle this entry in the chain belongs to. More...
 
char * label
 label/name corresponding to the authority More...
 
int gns_authority
 GNUNET_YES if the authority was a GNS authority, GNUNET_NO if the authority was a DNS authority. More...
 
union {
   struct GNUNET_IDENTITY_PublicKey   gns_authority
 The zone of the GNS authority. More...
 
   struct {
      char   name [GNUNET_DNSPARSER_MAX_NAME_LENGTH+1]
 Domain of the DNS resolver that is the authority. More...
 
      struct Gns2DnsPending *   gp_head
 List of resolutions of the 'ip' of the name server that are still pending. More...
 
      struct Gns2DnsPending *   gp_tail
 Tail of list of resolutions of the 'ip' of the name server that are still pending. More...
 
      struct GNUNET_DNSSTUB_Context *   dns_handle
 Handle to perform DNS lookups with this authority (in GNS2DNS handling). More...
 
      int   found
 Did we succeed in getting an IP address for any of the DNS servers listed? Once we do, we can start with DNS queries. More...
 
      int   launched
 Did we start the recursive resolution via DNS? More...
 
   }   dns_authority
 
authority_info
 Information about the resolver authority for this label. More...
 

Detailed Description

DLL to hold the authority chain we had to pass in the resolution process.

Definition at line 131 of file gnunet-service-gns_resolver.c.

Field Documentation

◆ prev

struct AuthorityChain* AuthorityChain::prev

This is a DLL.

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

◆ next

struct AuthorityChain* AuthorityChain::next

This is a DLL.

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

◆ rh

◆ label

char* AuthorityChain::label

label/name corresponding to the authority

Definition at line 151 of file gnunet-service-gns_resolver.c.

Referenced by dns_result_parser(), handle_gns_resolution_result(), and handle_namecache_block_response().

◆ gns_authority [1/2]

int AuthorityChain::gns_authority

GNUNET_YES if the authority was a GNS authority, GNUNET_NO if the authority was a DNS authority.

Definition at line 157 of file gnunet-service-gns_resolver.c.

Referenced by handle_gns_redirect_result(), handle_gns_resolution_result(), recursive_resolution(), and translate_dot_plus().

◆ gns_authority [2/2]

struct GNUNET_IDENTITY_PublicKey AuthorityChain::gns_authority

The zone of the GNS authority.

Definition at line 157 of file gnunet-service-gns_resolver.c.

◆ name

char AuthorityChain::name[GNUNET_DNSPARSER_MAX_NAME_LENGTH+1]

Domain of the DNS resolver that is the authority.

(appended to construct the DNS name to resolve; this is NOT the DNS name of the DNS server!).

Definition at line 176 of file gnunet-service-gns_resolver.c.

Referenced by gnunet_testing.StatisticsCondition::check(), gnunet_testing.EqualStatisticsCondition::check(), gnunet_testing.StatisticsCondition::evaluate(), and gnunet_testing.EqualStatisticsCondition::evaluate().

◆ gp_head

struct Gns2DnsPending* AuthorityChain::gp_head

List of resolutions of the 'ip' of the name server that are still pending.

Definition at line 182 of file gnunet-service-gns_resolver.c.

◆ gp_tail

struct Gns2DnsPending* AuthorityChain::gp_tail

Tail of list of resolutions of the 'ip' of the name server that are still pending.

Definition at line 188 of file gnunet-service-gns_resolver.c.

◆ dns_handle

struct GNUNET_DNSSTUB_Context* AuthorityChain::dns_handle

Handle to perform DNS lookups with this authority (in GNS2DNS handling).

Definition at line 193 of file gnunet-service-gns_resolver.c.

◆ found

int AuthorityChain::found

Did we succeed in getting an IP address for any of the DNS servers listed? Once we do, we can start with DNS queries.

Definition at line 199 of file gnunet-service-gns_resolver.c.

◆ launched

int AuthorityChain::launched

Did we start the recursive resolution via DNS?

Definition at line 204 of file gnunet-service-gns_resolver.c.

◆ 

struct { ... } AuthorityChain::dns_authority

◆ 

union { ... } AuthorityChain::authority_info

Information about the resolver authority for this label.

Referenced by handle_gns_redirect_result(), handle_gns_resolution_result(), and translate_dot_plus().


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