ptr_12.c File Reference

Go to the source code of this file.

Defines

#define RRTYPE_PTR_ATTRIBUTES   (0)

Functions

static isc_result_t fromtext_ptr (ARGS_FROMTEXT)
static isc_result_t totext_ptr (ARGS_TOTEXT)
static isc_result_t fromwire_ptr (ARGS_FROMWIRE)
static isc_result_t towire_ptr (ARGS_TOWIRE)
static int compare_ptr (ARGS_COMPARE)
static isc_result_t fromstruct_ptr (ARGS_FROMSTRUCT)
static isc_result_t tostruct_ptr (ARGS_TOSTRUCT)
static void freestruct_ptr (ARGS_FREESTRUCT)
static isc_result_t additionaldata_ptr (ARGS_ADDLDATA)
static isc_result_t digest_ptr (ARGS_DIGEST)
static isc_boolean_t checkowner_ptr (ARGS_CHECKOWNER)
static isc_boolean_t checknames_ptr (ARGS_CHECKNAMES)
static int casecompare_ptr (ARGS_COMPARE)

Variables

static unsigned char ip6_arpa_data [] = "\003IP6\004ARPA"
static unsigned char ip6_arpa_offsets [] = { 0, 4, 9 }
static const dns_name_t ip6_arpa
static unsigned char ip6_int_data [] = "\003IP6\003INT"
static unsigned char ip6_int_offsets [] = { 0, 4, 8 }
static const dns_name_t ip6_int
static unsigned char in_addr_arpa_data [] = "\007IN-ADDR\004ARPA"
static unsigned char in_addr_arpa_offsets [] = { 0, 8, 13 }
static const dns_name_t in_addr_arpa


Define Documentation

#define RRTYPE_PTR_ATTRIBUTES   (0)

Definition at line 25 of file ptr_12.c.


Function Documentation

static isc_result_t fromtext_ptr ( ARGS_FROMTEXT   )  [inline, static]

Definition at line 28 of file ptr_12.c.

References isc_tokenvalue_t::as_region, buffer, buffer_fromregion(), callbacks, dns_name_fromtext(), dns_name_init(), dns_name_ishostname(), DNS_R_BADNAME, DNS_RDATA_CHECKNAMES, DNS_RDATA_CHECKNAMESFAIL, DNS_RDATA_CHECKREVERSE, dns_rootname, ISC_FALSE, isc_lex_getmastertoken(), ISC_R_SUCCESS, isc_tokentype_string, name, origin, rdclass, REQUIRE, RETERR, RETTOK, token, UNUSED, isc_token::value, and warn_badname().

static isc_result_t totext_ptr ( ARGS_TOTEXT   )  [inline, static]

Definition at line 60 of file ptr_12.c.

References dns_name_fromregion(), dns_name_init(), dns_name_totext(), dns_rdata_toregion(), name, name_prefix(), and REQUIRE.

static isc_result_t fromwire_ptr ( ARGS_FROMWIRE   )  [inline, static]

Definition at line 81 of file ptr_12.c.

References DNS_COMPRESS_GLOBAL14, dns_decompress_setmethods(), dns_name_fromwire(), dns_name_init(), name, rdclass, REQUIRE, and UNUSED.

static isc_result_t towire_ptr ( ARGS_TOWIRE   )  [inline, static]

Definition at line 96 of file ptr_12.c.

References DNS_COMPRESS_GLOBAL14, dns_compress_setmethods(), dns_name_fromregion(), dns_name_init(), dns_name_towire(), dns_rdata_toregion(), name, and REQUIRE.

static int compare_ptr ( ARGS_COMPARE   )  [inline, static]

Definition at line 114 of file ptr_12.c.

References dns_name_fromregion(), dns_name_init(), dns_name_rdatacompare(), dns_rdata_toregion(), and REQUIRE.

Referenced by casecompare_ptr().

static isc_result_t fromstruct_ptr ( ARGS_FROMSTRUCT   )  [inline, static]

Definition at line 139 of file ptr_12.c.

References dns_name_toregion(), isc_buffer_copyregion(), rdclass, REQUIRE, and UNUSED.

static isc_result_t tostruct_ptr ( ARGS_TOSTRUCT   )  [inline, static]

Definition at line 156 of file ptr_12.c.

References dns_name_fromregion(), dns_name_init(), dns_rdata_toregion(), ISC_LINK_INIT, ISC_R_SUCCESS, mctx, name, name_duporclone(), REQUIRE, and RETERR.

static void freestruct_ptr ( ARGS_FREESTRUCT   )  [inline, static]

Definition at line 179 of file ptr_12.c.

References dns_name_free(), and REQUIRE.

static isc_result_t additionaldata_ptr ( ARGS_ADDLDATA   )  [inline, static]

Definition at line 193 of file ptr_12.c.

References arg, ISC_R_SUCCESS, REQUIRE, and UNUSED.

static isc_result_t digest_ptr ( ARGS_DIGEST   )  [inline, static]

Definition at line 204 of file ptr_12.c.

References arg, digest, dns_name_digest(), dns_name_fromregion(), dns_name_init(), dns_rdata_toregion(), name, r, and REQUIRE.

static isc_boolean_t checkowner_ptr ( ARGS_CHECKOWNER   )  [inline, static]

Definition at line 218 of file ptr_12.c.

References ISC_TRUE, name, rdclass, REQUIRE, and UNUSED.

static isc_boolean_t checknames_ptr ( ARGS_CHECKNAMES   )  [inline, static]

Definition at line 267 of file ptr_12.c.

References dns_name_clone(), dns_name_fromregion(), dns_name_init(), dns_name_ishostname(), dns_name_issubdomain(), dns_rdata_toregion(), ISC_FALSE, ISC_TRUE, name, and REQUIRE.

static int casecompare_ptr ( ARGS_COMPARE   )  [inline, static]

Definition at line 292 of file ptr_12.c.

References compare_ptr().


Variable Documentation

unsigned char ip6_arpa_data[] = "\003IP6\004ARPA" [static]

Definition at line 230 of file ptr_12.c.

unsigned char ip6_arpa_offsets[] = { 0, 4, 9 } [static]

Definition at line 231 of file ptr_12.c.

const dns_name_t ip6_arpa [static]

Initial value:

{
        DNS_NAME_MAGIC,
        ip6_arpa_data, 10, 3,
        DNS_NAMEATTR_READONLY | DNS_NAMEATTR_ABSOLUTE,
        ip6_arpa_offsets, NULL,
        {(void *)-1, (void *)-1},
        {NULL, NULL}
}

Definition at line 232 of file ptr_12.c.

unsigned char ip6_int_data[] = "\003IP6\003INT" [static]

Definition at line 242 of file ptr_12.c.

unsigned char ip6_int_offsets[] = { 0, 4, 8 } [static]

Definition at line 243 of file ptr_12.c.

const dns_name_t ip6_int [static]

Initial value:

{
        DNS_NAME_MAGIC,
        ip6_int_data, 9, 3,
        DNS_NAMEATTR_READONLY | DNS_NAMEATTR_ABSOLUTE,
        ip6_int_offsets, NULL,
        {(void *)-1, (void *)-1},
        {NULL, NULL}
}

Definition at line 244 of file ptr_12.c.

unsigned char in_addr_arpa_data[] = "\007IN-ADDR\004ARPA" [static]

Definition at line 254 of file ptr_12.c.

unsigned char in_addr_arpa_offsets[] = { 0, 8, 13 } [static]

Definition at line 255 of file ptr_12.c.

const dns_name_t in_addr_arpa [static]

Initial value:

{
        DNS_NAME_MAGIC,
        in_addr_arpa_data, 14, 3,
        DNS_NAMEATTR_READONLY | DNS_NAMEATTR_ABSOLUTE,
        in_addr_arpa_offsets, NULL,
        {(void *)-1, (void *)-1},
        {NULL, NULL}
}

Definition at line 256 of file ptr_12.c.


Generated on Tue Apr 28 17:41:12 2015 by Doxygen 1.5.4 for BIND9 Internals 9.11.0pre-alpha