Asterisk - The Open Source Telephony Project  21.4.1
Data Fields
ast_dns_record Struct Reference

For AST_LIST. More...

#include <dns_internal.h>

Data Fields

char data [0]
 The raw DNS record.
 
size_t data_len
 The size of the raw DNS record.
 
char * data_ptr
 pointer to record-specific data. More...
 
struct {
   struct ast_dns_record *   next
 
list
 Linked list information.
 
int rr_class
 Resource record class.
 
int rr_type
 Resource record type.
 
int ttl
 Time-to-live of the record.
 

Detailed Description

For AST_LIST.

For AST_VECTOR

For ast_dns_query_set_callback

Generic DNS record information

Definition at line 39 of file dns_internal.h.

Field Documentation

char* data_ptr

pointer to record-specific data.

For certain "subclasses" of DNS records, the location of the raw DNS data will differ from the generic case. This pointer will reliably be set to point to the raw DNS data, no matter where in the structure it may lie.

Definition at line 58 of file dns_internal.h.

Referenced by ast_dns_record_get_data(), ast_dns_resolver_add_record(), dns_naptr_alloc(), dns_srv_alloc(), and dns_txt_alloc().


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