GNUnet 0.22.2
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_CRYPTO_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

◆ gns_authority [1/2]

◆ gns_authority [2/2]

struct GNUNET_CRYPTO_PublicKey AuthorityChain::gns_authority

The zone of the GNS authority.

Definition at line 167 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 continue_with_gns2dns(), and recursive_gns2dns_resolution().

◆ 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.

Referenced by continue_with_gns2dns(), GNS_resolver_lookup_cancel(), handle_gns2dns_ip(), handle_gns2dns_result(), and recursive_gns2dns_resolution().

◆ 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.

Referenced by GNS_resolver_lookup_cancel(), handle_gns2dns_ip(), handle_gns2dns_result(), and recursive_gns2dns_resolution().

◆ 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.

Referenced by GNS_resolver_lookup_cancel(), handle_gns2dns_ip(), handle_gns2dns_result(), recursive_dns_resolution(), and recursive_gns2dns_resolution().

◆ 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.

Referenced by continue_with_gns2dns(), handle_gns2dns_ip(), handle_gns2dns_result(), and recursive_gns2dns_resolution().

◆ launched

int AuthorityChain::launched

Did we start the recursive resolution via DNS?

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

Referenced by continue_with_gns2dns().

◆ 

◆ 


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