Asterisk - The Open Source Telephony Project GIT-master-f36a736
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 dns_naptr_alloc().

◆ generic

struct ast_dns_record generic

Generic DNS record information.

Definition at line 94 of file dns_internal.h.

◆ order

unsigned short order

The order for the NAPTR record.

Definition at line 104 of file dns_internal.h.

◆ preference

unsigned short preference

The preference of the NAPTR record.

Definition at line 106 of file dns_internal.h.

Referenced by 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 dns_naptr_alloc().

◆ replacement

const char* replacement

The replacement from the NAPTR record.

Definition at line 102 of file dns_internal.h.

Referenced by dns_naptr_alloc().

◆ service

const char* service

The service from the NAPTR record.

Definition at line 98 of file dns_internal.h.


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