rrsig_46.c File Reference

Go to the source code of this file.

Defines

#define RRTYPE_RRSIG_ATTRIBUTES   (DNS_RDATATYPEATTR_DNSSEC)

Functions

static isc_result_t fromtext_rrsig (ARGS_FROMTEXT)
static isc_result_t totext_rrsig (ARGS_TOTEXT)
static isc_result_t fromwire_rrsig (ARGS_FROMWIRE)
static isc_result_t towire_rrsig (ARGS_TOWIRE)
static int compare_rrsig (ARGS_COMPARE)
static isc_result_t fromstruct_rrsig (ARGS_FROMSTRUCT)
static isc_result_t tostruct_rrsig (ARGS_TOSTRUCT)
static void freestruct_rrsig (ARGS_FREESTRUCT)
static isc_result_t additionaldata_rrsig (ARGS_ADDLDATA)
static isc_result_t digest_rrsig (ARGS_DIGEST)
static dns_rdatatype_t covers_rrsig (dns_rdata_t *rdata)
static isc_boolean_t checkowner_rrsig (ARGS_CHECKOWNER)
static isc_boolean_t checknames_rrsig (ARGS_CHECKNAMES)
static int casecompare_rrsig (ARGS_COMPARE)


Define Documentation

#define RRTYPE_RRSIG_ATTRIBUTES   (DNS_RDATATYPEATTR_DNSSEC)

Definition at line 27 of file rrsig_46.c.


Function Documentation

static isc_result_t fromtext_rrsig ( ARGS_FROMTEXT   )  [inline, static]

Definition at line 30 of file rrsig_46.c.

References isc_tokenvalue_t::as_region, isc_tokenvalue_t::as_textregion, isc_tokenvalue_t::as_ulong, buffer, buffer_fromregion(), callbacks, DNS_AS_STR, dns_name_fromtext(), dns_name_init(), DNS_R_SYNTAX, dns_rdatatype_fromtext(), dns_rootname, dns_secalg_fromtext(), dns_time32_fromtext(), isc_base64_tobuffer(), ISC_FALSE, isc_lex_getmastertoken(), ISC_R_NOTIMPLEMENTED, ISC_R_RANGE, ISC_R_SUCCESS, isc_tokentype_number, isc_tokentype_string, mem_tobuffer(), name, origin, rdclass, REQUIRE, RETERR, RETTOK, token, uint16_tobuffer(), uint32_tobuffer(), UNUSED, and isc_token::value.

static isc_result_t totext_rrsig ( ARGS_TOTEXT   )  [inline, static]

Definition at line 154 of file rrsig_46.c.

References isc_region::base, dns_name_fromregion(), dns_name_init(), dns_name_totext(), dns_rdata_toregion(), dns_rdatatype_isknown(), dns_rdatatype_totext(), DNS_STYLEFLAG_MULTILINE, DNS_STYLEFLAG_NOCRYPTO, dns_time32_totext(), isc_base64_totext(), ISC_FALSE, ISC_R_SUCCESS, isc_region_consume, name, name_length(), REQUIRE, RETERR, str_totext(), ttl, uint16_fromregion(), and uint32_fromregion().

static isc_result_t fromwire_rrsig ( ARGS_FROMWIRE   )  [inline, static]

Definition at line 267 of file rrsig_46.c.

References isc_region::base, DNS_COMPRESS_NONE, dns_decompress_setmethods(), dns_name_fromwire(), dns_name_init(), isc_buffer_activeregion, isc_buffer_forward, ISC_R_UNEXPECTEDEND, isc_region::length, mem_tobuffer(), name, rdclass, REQUIRE, RETERR, and UNUSED.

static isc_result_t towire_rrsig ( ARGS_TOWIRE   )  [inline, static]

Definition at line 309 of file rrsig_46.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_rrsig ( ARGS_COMPARE   )  [inline, static]

Definition at line 346 of file rrsig_46.c.

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

static isc_result_t fromstruct_rrsig ( ARGS_FROMSTRUCT   )  [inline, static]

Definition at line 362 of file rrsig_46.c.

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

static isc_result_t tostruct_rrsig ( ARGS_TOSTRUCT   )  [inline, static]

Definition at line 421 of file rrsig_46.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_duporclone(), name_length(), REQUIRE, RETERR, uint16_fromregion(), uint32_fromregion(), and uint8_fromregion().

static void freestruct_rrsig ( ARGS_FREESTRUCT   )  [inline, static]

Definition at line 503 of file rrsig_46.c.

References dns_name_free(), isc_mem_free, and REQUIRE.

static isc_result_t additionaldata_rrsig ( ARGS_ADDLDATA   )  [inline, static]

Definition at line 519 of file rrsig_46.c.

References arg, ISC_R_SUCCESS, REQUIRE, and UNUSED.

static isc_result_t digest_rrsig ( ARGS_DIGEST   )  [inline, static]

Definition at line 530 of file rrsig_46.c.

References arg, digest, ISC_R_NOTIMPLEMENTED, REQUIRE, and UNUSED.

static dns_rdatatype_t covers_rrsig ( dns_rdata_t rdata  )  [inline, static]

Definition at line 542 of file rrsig_46.c.

References dns_rdata_toregion(), r, REQUIRE, dns_rdata::type, and uint16_fromregion().

Referenced by dns_rdata_covers().

static isc_boolean_t checkowner_rrsig ( ARGS_CHECKOWNER   )  [inline, static]

Definition at line 555 of file rrsig_46.c.

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

static isc_boolean_t checknames_rrsig ( ARGS_CHECKNAMES   )  [inline, static]

Definition at line 568 of file rrsig_46.c.

References ISC_TRUE, REQUIRE, and UNUSED.

static int casecompare_rrsig ( ARGS_COMPARE   )  [inline, static]

Definition at line 580 of file rrsig_46.c.

References dns_name_fromregion(), dns_name_init(), dns_name_rdatacompare(), dns_rdata_toregion(), INSIST, isc_region_compare(), isc_region_consume, isc_region::length, name_length(), r1, r2, and REQUIRE.


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