cname_5.c File Reference

Go to the source code of this file.

Defines

#define RRTYPE_CNAME_ATTRIBUTES   (DNS_RDATATYPEATTR_EXCLUSIVE | DNS_RDATATYPEATTR_SINGLETON)

Functions

static isc_result_t fromtext_cname (ARGS_FROMTEXT)
static isc_result_t totext_cname (ARGS_TOTEXT)
static isc_result_t fromwire_cname (ARGS_FROMWIRE)
static isc_result_t towire_cname (ARGS_TOWIRE)
static int compare_cname (ARGS_COMPARE)
static isc_result_t fromstruct_cname (ARGS_FROMSTRUCT)
static isc_result_t tostruct_cname (ARGS_TOSTRUCT)
static void freestruct_cname (ARGS_FREESTRUCT)
static isc_result_t additionaldata_cname (ARGS_ADDLDATA)
static isc_result_t digest_cname (ARGS_DIGEST)
static isc_boolean_t checkowner_cname (ARGS_CHECKOWNER)
static isc_boolean_t checknames_cname (ARGS_CHECKNAMES)
static int casecompare_cname (ARGS_COMPARE)


Define Documentation

#define RRTYPE_CNAME_ATTRIBUTES   (DNS_RDATATYPEATTR_EXCLUSIVE | DNS_RDATATYPEATTR_SINGLETON)

Definition at line 25 of file cname_5.c.


Function Documentation

static isc_result_t fromtext_cname ( ARGS_FROMTEXT   )  [inline, static]

Definition at line 29 of file cname_5.c.

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

static isc_result_t totext_cname ( ARGS_TOTEXT   )  [inline, static]

Definition at line 51 of file cname_5.c.

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

static isc_result_t fromwire_cname ( ARGS_FROMWIRE   )  [inline, static]

Definition at line 72 of file cname_5.c.

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

static isc_result_t towire_cname ( ARGS_TOWIRE   )  [inline, static]

Definition at line 87 of file cname_5.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_cname ( ARGS_COMPARE   )  [inline, static]

Definition at line 105 of file cname_5.c.

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

Referenced by casecompare_cname().

static isc_result_t fromstruct_cname ( ARGS_FROMSTRUCT   )  [inline, static]

Definition at line 130 of file cname_5.c.

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

static isc_result_t tostruct_cname ( ARGS_TOSTRUCT   )  [inline, static]

Definition at line 147 of file cname_5.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_cname ( ARGS_FREESTRUCT   )  [inline, static]

Definition at line 170 of file cname_5.c.

References dns_name_free(), and REQUIRE.

static isc_result_t additionaldata_cname ( ARGS_ADDLDATA   )  [inline, static]

Definition at line 183 of file cname_5.c.

References arg, ISC_R_SUCCESS, REQUIRE, and UNUSED.

static isc_result_t digest_cname ( ARGS_DIGEST   )  [inline, static]

Definition at line 194 of file cname_5.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_cname ( ARGS_CHECKOWNER   )  [inline, static]

Definition at line 208 of file cname_5.c.

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

static isc_boolean_t checknames_cname ( ARGS_CHECKNAMES   )  [inline, static]

Definition at line 221 of file cname_5.c.

References ISC_TRUE, REQUIRE, and UNUSED.

static int casecompare_cname ( ARGS_COMPARE   )  [inline, static]

Definition at line 233 of file cname_5.c.

References compare_cname().


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