Asterisk - The Open Source Telephony Project GIT-master-7e7a603
Data Fields
ast_dns_srv_record Struct Reference

An SRV record. More...

#include <dns_internal.h>

Collaboration diagram for ast_dns_srv_record:
Collaboration graph
[legend]

Data Fields

char data [0]
 Additional data. More...
 
struct ast_dns_record generic
 Generic DNS record information. More...
 
const char * host
 The hostname in the SRV record. More...
 
unsigned short port
 The port in the SRV record. More...
 
unsigned short priority
 The priority of the SRV record. More...
 
unsigned short weight
 The weight of the SRV record. More...
 
unsigned int weight_sum
 The running weight sum. More...
 

Detailed Description

An SRV record.

Definition at line 74 of file dns_internal.h.

Field Documentation

◆ data

char data[0]

Additional data.

Definition at line 88 of file dns_internal.h.

Referenced by dns_srv_alloc().

◆ generic

struct ast_dns_record generic

Generic DNS record information.

Definition at line 76 of file dns_internal.h.

Referenced by dns_srv_alloc().

◆ host

const char* host

The hostname in the SRV record.

Definition at line 78 of file dns_internal.h.

Referenced by ast_dns_srv_get_host(), dns_srv_alloc(), and Registration::write().

◆ port

unsigned short port

The port in the SRV record.

Definition at line 84 of file dns_internal.h.

Referenced by ast_dns_srv_get_port(), dns_srv_alloc(), and Registration::write().

◆ priority

unsigned short priority

The priority of the SRV record.

Definition at line 80 of file dns_internal.h.

Referenced by ast_dns_srv_get_priority(), and dns_srv_alloc().

◆ weight

unsigned short weight

The weight of the SRV record.

Definition at line 82 of file dns_internal.h.

Referenced by ast_dns_srv_get_weight(), and dns_srv_alloc().

◆ weight_sum

unsigned int weight_sum

The running weight sum.

Definition at line 86 of file dns_internal.h.

Referenced by dns_srv_sort().


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