ns_2.c File Reference

Go to the source code of this file.

Defines

#define RRTYPE_NS_ATTRIBUTES   (DNS_RDATATYPEATTR_ZONECUTAUTH)

Functions

static isc_result_t fromtext_ns (ARGS_FROMTEXT)
static isc_result_t totext_ns (ARGS_TOTEXT)
static isc_result_t fromwire_ns (ARGS_FROMWIRE)
static isc_result_t towire_ns (ARGS_TOWIRE)
static int compare_ns (ARGS_COMPARE)
static isc_result_t fromstruct_ns (ARGS_FROMSTRUCT)
static isc_result_t tostruct_ns (ARGS_TOSTRUCT)
static void freestruct_ns (ARGS_FREESTRUCT)
static isc_result_t additionaldata_ns (ARGS_ADDLDATA)
static isc_result_t digest_ns (ARGS_DIGEST)
static isc_boolean_t checkowner_ns (ARGS_CHECKOWNER)
static isc_boolean_t checknames_ns (ARGS_CHECKNAMES)
static int casecompare_ns (ARGS_COMPARE)


Define Documentation

#define RRTYPE_NS_ATTRIBUTES   (DNS_RDATATYPEATTR_ZONECUTAUTH)

Definition at line 25 of file ns_2.c.


Function Documentation

static isc_result_t fromtext_ns ( ARGS_FROMTEXT   )  [inline, static]

Definition at line 28 of file ns_2.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_rootname, ISC_FALSE, isc_lex_getmastertoken(), ISC_R_SUCCESS, isc_tokentype_string, ISC_TRUE, name, origin, rdclass, REQUIRE, RETERR, RETTOK, token, UNUSED, isc_token::value, and warn_badname().

static isc_result_t totext_ns ( ARGS_TOTEXT   )  [inline, static]

Definition at line 58 of file ns_2.c.

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

static isc_result_t fromwire_ns ( ARGS_FROMWIRE   )  [inline, static]

Definition at line 79 of file ns_2.c.

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

static isc_result_t towire_ns ( ARGS_TOWIRE   )  [inline, static]

Definition at line 94 of file ns_2.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_ns ( ARGS_COMPARE   )  [inline, static]

Definition at line 112 of file ns_2.c.

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

Referenced by casecompare_ns().

static isc_result_t fromstruct_ns ( ARGS_FROMSTRUCT   )  [inline, static]

Definition at line 137 of file ns_2.c.

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

static isc_result_t tostruct_ns ( ARGS_TOSTRUCT   )  [inline, static]

Definition at line 154 of file ns_2.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_ns ( ARGS_FREESTRUCT   )  [inline, static]

Definition at line 177 of file ns_2.c.

References dns_name_free(), and REQUIRE.

static isc_result_t additionaldata_ns ( ARGS_ADDLDATA   )  [inline, static]

Definition at line 190 of file ns_2.c.

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

static isc_result_t digest_ns ( ARGS_DIGEST   )  [inline, static]

Definition at line 205 of file ns_2.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_ns ( ARGS_CHECKOWNER   )  [inline, static]

Definition at line 219 of file ns_2.c.

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

static isc_boolean_t checknames_ns ( ARGS_CHECKNAMES   )  [inline, static]

Definition at line 232 of file ns_2.c.

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

static int casecompare_ns ( ARGS_COMPARE   )  [inline, static]

Definition at line 252 of file ns_2.c.

References compare_ns().


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