nsec3param_51.c File Reference

#include <isc/iterated_hash.h>
#include <isc/base32.h>

Go to the source code of this file.

Defines

#define RRTYPE_NSEC3PARAM_ATTRIBUTES   (DNS_RDATATYPEATTR_DNSSEC)

Functions

static isc_result_t fromtext_nsec3param (ARGS_FROMTEXT)
static isc_result_t totext_nsec3param (ARGS_TOTEXT)
static isc_result_t fromwire_nsec3param (ARGS_FROMWIRE)
static isc_result_t towire_nsec3param (ARGS_TOWIRE)
static int compare_nsec3param (ARGS_COMPARE)
static isc_result_t fromstruct_nsec3param (ARGS_FROMSTRUCT)
static isc_result_t tostruct_nsec3param (ARGS_TOSTRUCT)
static void freestruct_nsec3param (ARGS_FREESTRUCT)
static isc_result_t additionaldata_nsec3param (ARGS_ADDLDATA)
static isc_result_t digest_nsec3param (ARGS_DIGEST)
static isc_boolean_t checkowner_nsec3param (ARGS_CHECKOWNER)
static isc_boolean_t checknames_nsec3param (ARGS_CHECKNAMES)
static int casecompare_nsec3param (ARGS_COMPARE)


Define Documentation

#define RRTYPE_NSEC3PARAM_ATTRIBUTES   (DNS_RDATATYPEATTR_DNSSEC)

Definition at line 43 of file nsec3param_51.c.


Function Documentation

static isc_result_t fromtext_nsec3param ( ARGS_FROMTEXT   )  [inline, static]

Definition at line 46 of file nsec3param_51.c.

References isc_tokenvalue_t::as_textregion, isc_tokenvalue_t::as_ulong, callbacks, DNS_AS_STR, dns_hashalg_fromtext(), DNS_R_TEXTTOOLONG, ISC_FALSE, isc_hex_decodestring(), isc_lex_getmastertoken(), ISC_R_RANGE, ISC_R_SUCCESS, isc_tokentype_number, isc_tokentype_string, isc_textregion::length, origin, rdclass, REQUIRE, RETERR, RETTOK, token, uint16_tobuffer(), uint8_tobuffer(), UNUSED, and isc_token::value.

static isc_result_t totext_nsec3param ( ARGS_TOTEXT   )  [inline, static]

Definition at line 96 of file nsec3param_51.c.

References dns_rdata_toregion(), hash, INSIST, isc_hex_totext(), ISC_R_SUCCESS, isc_region_consume, isc_region::length, REQUIRE, RETERR, str_totext(), uint16_fromregion(), uint8_fromregion(), and UNUSED.

static isc_result_t fromwire_nsec3param ( ARGS_FROMWIRE   )  [inline, static]

Definition at line 145 of file nsec3param_51.c.

References isc_region::base, DNS_R_FORMERR, isc_buffer_activeregion, isc_buffer_forward, ISC_R_SUCCESS, isc_region_consume, isc_region::length, mem_tobuffer(), rdclass, REQUIRE, RETERR, and UNUSED.

static isc_result_t towire_nsec3param ( ARGS_TOWIRE   )  [inline, static]

Definition at line 174 of file nsec3param_51.c.

References isc_region::base, dns_rdata_toregion(), isc_region::length, mem_tobuffer(), REQUIRE, and UNUSED.

static int compare_nsec3param ( ARGS_COMPARE   )  [inline, static]

Definition at line 187 of file nsec3param_51.c.

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

Referenced by casecompare_nsec3param().

static isc_result_t fromstruct_nsec3param ( ARGS_FROMSTRUCT   )  [inline, static]

Definition at line 203 of file nsec3param_51.c.

References ISC_R_SUCCESS, mem_tobuffer(), rdclass, REQUIRE, RETERR, uint16_tobuffer(), uint8_tobuffer(), and UNUSED.

static isc_result_t tostruct_nsec3param ( ARGS_TOSTRUCT   )  [inline, static]

Definition at line 224 of file nsec3param_51.c.

References isc_region::base, ISC_LINK_INIT, ISC_R_NOMEMORY, ISC_R_SUCCESS, isc_region_consume, isc_region::length, mctx, mem_maybedup(), REQUIRE, uint16_consume_fromregion(), and uint8_consume_fromregion().

static void freestruct_nsec3param ( ARGS_FREESTRUCT   )  [inline, static]

Definition at line 254 of file nsec3param_51.c.

References isc_mem_free, and REQUIRE.

static isc_result_t additionaldata_nsec3param ( ARGS_ADDLDATA   )  [inline, static]

Definition at line 269 of file nsec3param_51.c.

References arg, ISC_R_SUCCESS, REQUIRE, and UNUSED.

static isc_result_t digest_nsec3param ( ARGS_DIGEST   )  [inline, static]

Definition at line 280 of file nsec3param_51.c.

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

static isc_boolean_t checkowner_nsec3param ( ARGS_CHECKOWNER   )  [inline, static]

Definition at line 290 of file nsec3param_51.c.

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

static isc_boolean_t checknames_nsec3param ( ARGS_CHECKNAMES   )  [inline, static]

Definition at line 303 of file nsec3param_51.c.

References ISC_TRUE, REQUIRE, and UNUSED.

static int casecompare_nsec3param ( ARGS_COMPARE   )  [inline, static]

Definition at line 315 of file nsec3param_51.c.

References compare_nsec3param().


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