dname_39.c File Reference

Go to the source code of this file.

Defines

#define RRTYPE_DNAME_ATTRIBUTES   (DNS_RDATATYPEATTR_SINGLETON)

Functions

static isc_result_t fromtext_dname (ARGS_FROMTEXT)
static isc_result_t totext_dname (ARGS_TOTEXT)
static isc_result_t fromwire_dname (ARGS_FROMWIRE)
static isc_result_t towire_dname (ARGS_TOWIRE)
static int compare_dname (ARGS_COMPARE)
static isc_result_t fromstruct_dname (ARGS_FROMSTRUCT)
static isc_result_t tostruct_dname (ARGS_TOSTRUCT)
static void freestruct_dname (ARGS_FREESTRUCT)
static isc_result_t additionaldata_dname (ARGS_ADDLDATA)
static isc_result_t digest_dname (ARGS_DIGEST)
static isc_boolean_t checkowner_dname (ARGS_CHECKOWNER)
static isc_boolean_t checknames_dname (ARGS_CHECKNAMES)
static int casecompare_dname (ARGS_COMPARE)


Define Documentation

#define RRTYPE_DNAME_ATTRIBUTES   (DNS_RDATATYPEATTR_SINGLETON)

Definition at line 27 of file dname_39.c.


Function Documentation

static isc_result_t fromtext_dname ( ARGS_FROMTEXT   )  [inline, static]

Definition at line 30 of file dname_39.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_dname ( ARGS_TOTEXT   )  [inline, static]

Definition at line 52 of file dname_39.c.

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

static isc_result_t fromwire_dname ( ARGS_FROMWIRE   )  [inline, static]

Definition at line 73 of file dname_39.c.

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

static isc_result_t towire_dname ( ARGS_TOWIRE   )  [inline, static]

Definition at line 88 of file dname_39.c.

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

static int compare_dname ( ARGS_COMPARE   )  [inline, static]

Definition at line 105 of file dname_39.c.

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

Referenced by casecompare_dname().

static isc_result_t fromstruct_dname ( ARGS_FROMSTRUCT   )  [inline, static]

Definition at line 130 of file dname_39.c.

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

static isc_result_t tostruct_dname ( ARGS_TOSTRUCT   )  [inline, static]

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

Definition at line 170 of file dname_39.c.

References dns_name_free(), and REQUIRE.

static isc_result_t additionaldata_dname ( ARGS_ADDLDATA   )  [inline, static]

Definition at line 184 of file dname_39.c.

References arg, ISC_R_SUCCESS, REQUIRE, and UNUSED.

static isc_result_t digest_dname ( ARGS_DIGEST   )  [inline, static]

Definition at line 195 of file dname_39.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_dname ( ARGS_CHECKOWNER   )  [inline, static]

Definition at line 209 of file dname_39.c.

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

static isc_boolean_t checknames_dname ( ARGS_CHECKNAMES   )  [inline, static]

Definition at line 222 of file dname_39.c.

References ISC_TRUE, REQUIRE, and UNUSED.

static int casecompare_dname ( ARGS_COMPARE   )  [inline, static]

Definition at line 234 of file dname_39.c.

References compare_dname().


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