GNUnet 0.21.2
DnsResult Struct Reference

A result we got from DNS. More...

Collaboration diagram for DnsResult:
[legend]

Data Fields

struct DnsResultnext
 Kept in DLL. More...
 
struct DnsResultprev
 Kept in DLL. More...
 
const void * data
 Binary value stored in the DNS record (appended to this struct) More...
 
uint64_t expiration_time
 Expiration time for the DNS record, 0 if we didn't get anything useful (i.e. More...
 
size_t data_size
 Number of bytes in data. More...
 
uint32_t record_type
 Type of the GNS/DNS record. More...
 

Detailed Description

A result we got from DNS.

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

Field Documentation

◆ next

struct DnsResult* DnsResult::next

Kept in DLL.

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

Referenced by transmit_lookup_dns_result().

◆ prev

struct DnsResult* DnsResult::prev

Kept in DLL.

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

◆ data

const void* DnsResult::data

◆ expiration_time

uint64_t DnsResult::expiration_time

Expiration time for the DNS record, 0 if we didn't get anything useful (i.e.

'gethostbyname()' was used).

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

Referenced by add_dns_result(), and transmit_lookup_dns_result().

◆ data_size

size_t DnsResult::data_size

Number of bytes in data.

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

Referenced by transmit_lookup_dns_result().

◆ record_type

uint32_t DnsResult::record_type

Type of the GNS/DNS record.

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

Referenced by add_dns_result(), and transmit_lookup_dns_result().


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