GNUnet 0.28.1-dev.4-47-g3e168ca2d
 
Loading...
Searching...
No Matches
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.
 
struct AuthorityChainnext
 This is a DLL.
 
struct GNS_ResolverHandlerh
 Resolver handle this entry in the chain belongs to.
 
char * label
 label/name corresponding to the authority
 
int gns_authority
 GNUNET_YES if the authority was a GNS authority, GNUNET_NO if the authority was a DNS authority.
 
union { 
 
   struct GNUNET_CRYPTO_BlindablePublicKey   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.
 

Detailed Description

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

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

Field Documentation

◆ prev

struct AuthorityChain* AuthorityChain::prev

This is a DLL.

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

◆ next

struct AuthorityChain* AuthorityChain::next

This is a DLL.

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

◆ rh

◆ label

◆ gns_authority [1/2]

◆ gns_authority [2/2]

struct GNUNET_CRYPTO_BlindablePublicKey AuthorityChain::gns_authority

The zone of the GNS authority.

Definition at line 188 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 197 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 203 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 209 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 214 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 220 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 225 of file gnunet-service-gns_resolver.c.

Referenced by continue_with_gns2dns().

◆ [struct]

◆ [union]


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