Asterisk - The Open Source Telephony Project  18.5.0
Data Fields
ast_dnsmgr_entry Struct Reference
Collaboration diagram for ast_dnsmgr_entry:
Collaboration graph
[legend]

Data Fields

unsigned int changed:1
 
void * data
 
unsigned int family
 
ast_mutex_t lock
 
struct ast_sockaddrresult
 
char * service
 
dns_update_func update_func
 

Detailed Description

Definition at line 66 of file dnsmgr.c.

Field Documentation

◆ changed

unsigned int changed

Set to 1 if the entry changes

Definition at line 74 of file dnsmgr.c.

Referenced by ast_dnsmgr_changed(), and dnsmgr_refresh().

◆ data

void* data

Data to pass back to update_func

Definition at line 76 of file dnsmgr.c.

Referenced by dnsmgr_refresh(), and internal_dnsmgr_lookup().

◆ family

unsigned int family

Address family to filter DNS responses.

Definition at line 72 of file dnsmgr.c.

Referenced by ast_dnsmgr_get_family(), dnsmgr_refresh(), and internal_dnsmgr_lookup().

◆ lock

◆ result

struct ast_sockaddr* result

where we will store the resulting IP address and port number

Definition at line 68 of file dnsmgr.c.

Referenced by ast_dnsmgr_get_family(), and dnsmgr_refresh().

◆ service

char* service

SRV record to lookup, if provided. Composed of service, protocol, and domain name: _Service._Proto.Name

Definition at line 70 of file dnsmgr.c.

Referenced by ast_dnsmgr_get_family(), and dnsmgr_refresh().

◆ update_func

dns_update_func update_func

The callback function to execute on address update

Definition at line 78 of file dnsmgr.c.

Referenced by dnsmgr_refresh().


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