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

A NAPTR record. More...

#include <dns_internal.h>

Collaboration diagram for ast_dns_naptr_record:
Collaboration graph
[legend]

Data Fields

char data [0]
 Buffer for NAPTR-specific data. More...
 
const char * flags
 The flags from the NAPTR record. More...
 
struct ast_dns_record generic
 Generic DNS record information. More...
 
unsigned short order
 The order for the NAPTR record. More...
 
unsigned short preference
 The preference of the NAPTR record. More...
 
const char * regexp
 The regular expression from the NAPTR record. More...
 
const char * replacement
 The replacement from the NAPTR record. More...
 
const char * service
 The service from the NAPTR record. More...
 

Detailed Description

A NAPTR record.

Definition at line 92 of file dns_internal.h.

Field Documentation

◆ data

char data[0]

Buffer for NAPTR-specific data.

This includes the raw NAPTR record, as well as the area where the flags, service, regexp, and replacement strings are stored.

Definition at line 113 of file dns_internal.h.

Referenced by dns_naptr_alloc().

◆ flags

const char* flags

The flags from the NAPTR record.

Definition at line 96 of file dns_internal.h.

Referenced by ast_dns_naptr_get_flags(), and dns_naptr_alloc().

◆ generic

struct ast_dns_record generic

Generic DNS record information.

Definition at line 94 of file dns_internal.h.

Referenced by dns_naptr_alloc().

◆ order

unsigned short order

The order for the NAPTR record.

Definition at line 104 of file dns_internal.h.

Referenced by ast_dns_naptr_get_order(), dns_naptr_alloc(), and dns_naptr_sort().

◆ preference

unsigned short preference

The preference of the NAPTR record.

Definition at line 106 of file dns_internal.h.

Referenced by ast_dns_naptr_get_preference(), and dns_naptr_alloc().

◆ regexp

const char* regexp

The regular expression from the NAPTR record.

Definition at line 100 of file dns_internal.h.

Referenced by ast_dns_naptr_get_regexp(), and dns_naptr_alloc().

◆ replacement

const char* replacement

The replacement from the NAPTR record.

Definition at line 102 of file dns_internal.h.

Referenced by ast_dns_naptr_get_replacement(), and dns_naptr_alloc().

◆ service

const char* service

The service from the NAPTR record.

Definition at line 98 of file dns_internal.h.

Referenced by ast_dns_naptr_get_service(), and dns_naptr_alloc().


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