tlsa_52.c File Reference

Go to the source code of this file.

Defines

#define RRTYPE_TLSA_ATTRIBUTES   0

Functions

static isc_result_t fromtext_tlsa (ARGS_FROMTEXT)
static isc_result_t totext_tlsa (ARGS_TOTEXT)
static isc_result_t fromwire_tlsa (ARGS_FROMWIRE)
static isc_result_t towire_tlsa (ARGS_TOWIRE)
static int compare_tlsa (ARGS_COMPARE)
static isc_result_t fromstruct_tlsa (ARGS_FROMSTRUCT)
static isc_result_t tostruct_tlsa (ARGS_TOSTRUCT)
static void freestruct_tlsa (ARGS_FREESTRUCT)
static isc_result_t additionaldata_tlsa (ARGS_ADDLDATA)
static isc_result_t digest_tlsa (ARGS_DIGEST)
static isc_boolean_t checkowner_tlsa (ARGS_CHECKOWNER)
static isc_boolean_t checknames_tlsa (ARGS_CHECKNAMES)
static int casecompare_tlsa (ARGS_COMPARE)


Define Documentation

#define RRTYPE_TLSA_ATTRIBUTES   0

Definition at line 24 of file tlsa_52.c.


Function Documentation

static isc_result_t fromtext_tlsa ( ARGS_FROMTEXT   )  [inline, static]

Definition at line 27 of file tlsa_52.c.

References isc_tokenvalue_t::as_ulong, callbacks, ISC_FALSE, isc_hex_tobuffer(), isc_lex_getmastertoken(), ISC_R_RANGE, isc_tokentype_number, origin, rdclass, REQUIRE, RETERR, RETTOK, token, uint8_tobuffer(), UNUSED, and isc_token::value.

static isc_result_t totext_tlsa ( ARGS_TOTEXT   )  [inline, static]

Definition at line 72 of file tlsa_52.c.

References dns_rdata_toregion(), DNS_STYLEFLAG_MULTILINE, isc_hex_totext(), ISC_R_SUCCESS, isc_region_consume, REQUIRE, RETERR, str_totext(), uint8_fromregion(), and UNUSED.

static isc_result_t fromwire_tlsa ( ARGS_FROMWIRE   )  [inline, static]

Definition at line 125 of file tlsa_52.c.

References isc_region::base, isc_buffer_activeregion, isc_buffer_forward, ISC_R_UNEXPECTEDEND, isc_region::length, mem_tobuffer(), rdclass, REQUIRE, and UNUSED.

static isc_result_t towire_tlsa ( ARGS_TOWIRE   )  [inline, static]

Definition at line 145 of file tlsa_52.c.

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

static int compare_tlsa ( ARGS_COMPARE   )  [inline, static]

Definition at line 158 of file tlsa_52.c.

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

Referenced by casecompare_tlsa().

static isc_result_t fromstruct_tlsa ( ARGS_FROMSTRUCT   )  [inline, static]

Definition at line 174 of file tlsa_52.c.

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

static isc_result_t tostruct_tlsa ( ARGS_TOSTRUCT   )  [inline, static]

Definition at line 193 of file tlsa_52.c.

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

static void freestruct_tlsa ( ARGS_FREESTRUCT   )  [inline, static]

Definition at line 224 of file tlsa_52.c.

References isc_mem_free, and REQUIRE.

static isc_result_t additionaldata_tlsa ( ARGS_ADDLDATA   )  [inline, static]

Definition at line 239 of file tlsa_52.c.

References arg, ISC_R_SUCCESS, REQUIRE, and UNUSED.

static isc_result_t digest_tlsa ( ARGS_DIGEST   )  [inline, static]

Definition at line 250 of file tlsa_52.c.

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

static isc_boolean_t checkowner_tlsa ( ARGS_CHECKOWNER   )  [inline, static]

Definition at line 261 of file tlsa_52.c.

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

static isc_boolean_t checknames_tlsa ( ARGS_CHECKNAMES   )  [inline, static]

Definition at line 274 of file tlsa_52.c.

References ISC_TRUE, REQUIRE, and UNUSED.

static int casecompare_tlsa ( ARGS_COMPARE   )  [inline, static]

Definition at line 286 of file tlsa_52.c.

References compare_tlsa().


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