Asterisk - The Open Source Telephony Project  18.5.0
Data Fields
dns_record Struct Reference

A DNS record to be used during a test. More...

Data Fields

const char * as_string
 
const char * buf
 
const size_t bufsize
 
const char * domain
 
int rr_class
 
int rr_type
 
int ttl
 
int visited
 

Detailed Description

A DNS record to be used during a test.

Definition at line 509 of file res_resolver_unbound.c.

Field Documentation

◆ as_string

const char* as_string

String representation of the record, as would be found in a file

Definition at line 511 of file res_resolver_unbound.c.

Referenced by nominal_test(), and off_nominal_test().

◆ buf

const char* buf

The RDATA of the DNS record

Definition at line 521 of file res_resolver_unbound.c.

Referenced by async_callback().

◆ bufsize

const size_t bufsize

The size of the RDATA

Definition at line 523 of file res_resolver_unbound.c.

Referenced by async_callback().

◆ domain

const char* domain

The domain this record belongs to

Definition at line 513 of file res_resolver_unbound.c.

◆ rr_class

int rr_class

The class of the record

Definition at line 517 of file res_resolver_unbound.c.

Referenced by async_callback(), and nominal_sync_run().

◆ rr_type

int rr_type

The type of the record

Definition at line 515 of file res_resolver_unbound.c.

Referenced by async_callback(), and nominal_sync_run().

◆ ttl

int ttl

The TTL of the record, in seconds

Definition at line 519 of file res_resolver_unbound.c.

Referenced by async_callback(), and nominal_sync_run().

◆ visited

int visited

Whether a record checker has visited this record

Definition at line 525 of file res_resolver_unbound.c.

Referenced by AST_TEST_DEFINE(), async_callback(), nominal_async_run(), and nominal_sync_run().


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