GNUnet  0.11.x
Data Fields
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 227 of file gnunet-service-gns_resolver.c.

Field Documentation

◆ next

struct DnsResult* DnsResult::next

Kept in DLL.

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

Referenced by transmit_lookup_dns_result().

◆ prev

struct DnsResult* DnsResult::prev

Kept in DLL.

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

◆ data

const void* DnsResult::data

Binary value stored in the DNS record (appended to this struct)

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

Referenced by add_dns_result(), and transmit_lookup_dns_result().

◆ 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 248 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 253 of file gnunet-service-gns_resolver.c.

Referenced by add_dns_result(), and transmit_lookup_dns_result().

◆ record_type

uint32_t DnsResult::record_type

Type of the GNS/DNS record.

Definition at line 258 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: