nsec_47.c File Reference

Go to the source code of this file.

Defines

#define RRTYPE_NSEC_ATTRIBUTES   (DNS_RDATATYPEATTR_DNSSEC)

Functions

static isc_result_t fromtext_nsec (ARGS_FROMTEXT)
static isc_result_t totext_nsec (ARGS_TOTEXT)
static isc_result_t fromwire_nsec (ARGS_FROMWIRE)
static isc_result_t towire_nsec (ARGS_TOWIRE)
static int compare_nsec (ARGS_COMPARE)
static isc_result_t fromstruct_nsec (ARGS_FROMSTRUCT)
static isc_result_t tostruct_nsec (ARGS_TOSTRUCT)
static void freestruct_nsec (ARGS_FREESTRUCT)
static isc_result_t additionaldata_nsec (ARGS_ADDLDATA)
static isc_result_t digest_nsec (ARGS_DIGEST)
static isc_boolean_t checkowner_nsec (ARGS_CHECKOWNER)
static isc_boolean_t checknames_nsec (ARGS_CHECKNAMES)
static int casecompare_nsec (ARGS_COMPARE)


Define Documentation

#define RRTYPE_NSEC_ATTRIBUTES   (DNS_RDATATYPEATTR_DNSSEC)

Definition at line 31 of file nsec_47.c.


Function Documentation

static isc_result_t fromtext_nsec ( ARGS_FROMTEXT   )  [inline, static]

Definition at line 34 of file nsec_47.c.

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

static isc_result_t totext_nsec ( ARGS_TOTEXT   )  [inline, static]

Definition at line 87 of file nsec_47.c.

References isc_region::base, dns_name_fromregion(), dns_name_init(), dns_name_totext(), dns_rdata_toregion(), dns_rdatatype_isknown(), dns_rdatatype_totext(), INSIST, ISC_FALSE, ISC_R_SUCCESS, isc_region_consume, isc_region::length, name, name_length(), REQUIRE, RETERR, str_totext(), and UNUSED.

static isc_result_t fromwire_nsec ( ARGS_FROMWIRE   )  [static]

Definition at line 135 of file nsec_47.c.

References isc_region::base, DNS_COMPRESS_NONE, dns_decompress_setmethods(), dns_name_fromwire(), dns_name_init(), DNS_R_EXTRADATA, DNS_R_FORMERR, isc_buffer_activeregion, isc_buffer_forward, ISC_FALSE, ISC_R_SUCCESS, ISC_TRUE, isc_region::length, mem_tobuffer(), name, rdclass, REQUIRE, RETERR, and UNUSED.

static isc_result_t towire_nsec ( ARGS_TOWIRE   )  [inline, static]

Definition at line 196 of file nsec_47.c.

References isc_region::base, DNS_COMPRESS_NONE, dns_compress_setmethods(), dns_name_fromregion(), dns_name_init(), dns_name_towire(), dns_rdata_toregion(), isc_region_consume, isc_region::length, mem_tobuffer(), name, name_length(), REQUIRE, and RETERR.

static int compare_nsec ( ARGS_COMPARE   )  [inline, static]

Definition at line 215 of file nsec_47.c.

References dns_rdata_toregion(), isc_region_compare(), r1, r2, and REQUIRE.

static isc_result_t fromstruct_nsec ( ARGS_FROMSTRUCT   )  [inline, static]

Definition at line 231 of file nsec_47.c.

References dns_name_toregion(), INSIST, isc_buffer_copyregion(), ISC_FALSE, ISC_TRUE, mem_tobuffer(), rdclass, REQUIRE, RETERR, and UNUSED.

static isc_result_t tostruct_nsec ( ARGS_TOSTRUCT   )  [inline, static]

Definition at line 268 of file nsec_47.c.

References isc_region::base, cleanup(), dns_name_free(), dns_name_fromregion(), dns_name_init(), dns_rdata_toregion(), ISC_LINK_INIT, ISC_R_NOMEMORY, ISC_R_SUCCESS, isc_region_consume, isc_region::length, mctx, mem_maybedup(), name, name_duporclone(), name_length(), REQUIRE, and RETERR.

static void freestruct_nsec ( ARGS_FREESTRUCT   )  [inline, static]

Definition at line 303 of file nsec_47.c.

References dns_name_free(), isc_mem_free, and REQUIRE.

static isc_result_t additionaldata_nsec ( ARGS_ADDLDATA   )  [inline, static]

Definition at line 319 of file nsec_47.c.

References arg, ISC_R_SUCCESS, REQUIRE, and UNUSED.

static isc_result_t digest_nsec ( ARGS_DIGEST   )  [inline, static]

Definition at line 330 of file nsec_47.c.

References arg, digest, dns_rdata_toregion(), r, and REQUIRE.

static isc_boolean_t checkowner_nsec ( ARGS_CHECKOWNER   )  [inline, static]

Definition at line 340 of file nsec_47.c.

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

static isc_boolean_t checknames_nsec ( ARGS_CHECKNAMES   )  [inline, static]

Definition at line 353 of file nsec_47.c.

References ISC_TRUE, REQUIRE, and UNUSED.

static int casecompare_nsec ( ARGS_COMPARE   )  [inline, static]

Definition at line 365 of file nsec_47.c.

References dns_name_fromregion(), dns_name_init(), dns_name_rdatacompare(), dns_rdata_toregion(), isc_region_compare(), isc_region_consume, name_length(), and REQUIRE.


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