GNUnet  0.10.x
Data Fields
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_EcdsaPublicKey   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

struct GNS_ResolverHandle* AuthorityChain::rh

◆ label

char* AuthorityChain::label

◆ gns_authority [1/2]

int AuthorityChain::gns_authority

◆ gns_authority [2/2]

struct GNUNET_CRYPTO_EcdsaPublicKey AuthorityChain::gns_authority

The zone of the GNS authority.

Definition at line 168 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 177 of file gnunet-service-gns_resolver.c.

◆ gp_head

struct Gns2DnsPending* AuthorityChain::gp_head

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

Definition at line 183 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 189 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 194 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 200 of file gnunet-service-gns_resolver.c.

◆ launched

int AuthorityChain::launched

Did we start the recursive resolution via DNS?

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

◆ dns_authority

struct { ... } AuthorityChain::dns_authority

◆ authority_info

union { ... } AuthorityChain::authority_info

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