Go to the source code of this file.
Defines | |
#define | RRTYPE_TSIG_ATTRIBUTES (DNS_RDATATYPEATTR_META | DNS_RDATATYPEATTR_NOTQUESTION) |
Functions | |
static isc_result_t | fromtext_any_tsig (ARGS_FROMTEXT) |
static isc_result_t | totext_any_tsig (ARGS_TOTEXT) |
static isc_result_t | fromwire_any_tsig (ARGS_FROMWIRE) |
static isc_result_t | towire_any_tsig (ARGS_TOWIRE) |
static int | compare_any_tsig (ARGS_COMPARE) |
static isc_result_t | fromstruct_any_tsig (ARGS_FROMSTRUCT) |
static isc_result_t | tostruct_any_tsig (ARGS_TOSTRUCT) |
static void | freestruct_any_tsig (ARGS_FREESTRUCT) |
static isc_result_t | additionaldata_any_tsig (ARGS_ADDLDATA) |
static isc_result_t | digest_any_tsig (ARGS_DIGEST) |
static isc_boolean_t | checkowner_any_tsig (ARGS_CHECKOWNER) |
static isc_boolean_t | checknames_any_tsig (ARGS_CHECKNAMES) |
static int | casecompare_any_tsig (ARGS_COMPARE) |
#define RRTYPE_TSIG_ATTRIBUTES (DNS_RDATATYPEATTR_META | DNS_RDATATYPEATTR_NOTQUESTION) |
Definition at line 25 of file tsig_250.c.
static isc_result_t fromtext_any_tsig | ( | ARGS_FROMTEXT | ) | [inline, static] |
Definition at line 29 of file tsig_250.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_R_UNKNOWN, dns_rootname, dns_tsigrcode_fromtext(), isc_base64_tobuffer(), ISC_FALSE, isc_lex_getmastertoken(), ISC_R_RANGE, ISC_R_SUCCESS, isc_string_touint64(), isc_tokentype_number, isc_tokentype_string, name, origin, rdclass, REQUIRE, RETERR, RETTOK, token, uint16_tobuffer(), uint32_tobuffer(), UNUSED, and isc_token::value.
static isc_result_t totext_any_tsig | ( | ARGS_TOTEXT | ) | [inline, static] |
Definition at line 133 of file tsig_250.c.
References isc_region::base, decdigits, dns_name_fromregion(), dns_name_init(), dns_name_totext(), dns_rdata_toregion(), DNS_STYLEFLAG_MULTILINE, dns_tsigrcode_totext(), isc_base64_totext(), isc_region_consume, isc_region::length, name, name_length(), name_prefix(), REQUIRE, RETERR, str_totext(), and uint16_fromregion().
static isc_result_t fromwire_any_tsig | ( | ARGS_FROMWIRE | ) | [inline, static] |
Definition at line 249 of file tsig_250.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_consume, isc_region::length, mem_tobuffer(), name, rdclass, REQUIRE, RETERR, uint16_fromregion(), and UNUSED.
static isc_result_t towire_any_tsig | ( | ARGS_TOWIRE | ) | [inline, static] |
Definition at line 312 of file tsig_250.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_any_tsig | ( | ARGS_COMPARE | ) | [inline, static] |
Definition at line 331 of file tsig_250.c.
References dns_name_fromregion(), dns_name_init(), dns_name_rdatacompare(), dns_rdata_toregion(), isc_region_compare(), isc_region_consume, name_length(), r1, r2, and REQUIRE.
Referenced by casecompare_any_tsig().
static isc_result_t fromstruct_any_tsig | ( | ARGS_FROMSTRUCT | ) | [inline, static] |
Definition at line 360 of file tsig_250.c.
References isc_buffer_availableregion, ISC_R_NOSPACE, isc_region::length, mem_tobuffer(), name_tobuffer(), rdclass, REQUIRE, RETERR, uint16_tobuffer(), uint32_tobuffer(), and UNUSED.
static isc_result_t tostruct_any_tsig | ( | ARGS_TOSTRUCT | ) | [inline, static] |
Definition at line 431 of file tsig_250.c.
References isc_region::base, cleanup(), dns_name_free(), dns_name_fromregion(), dns_name_init(), dns_rdata_toregion(), INSIST, ISC_LINK_INIT, isc_mem_free, ISC_R_NOMEMORY, ISC_R_SUCCESS, isc_region_consume, isc_region::length, mctx, mem_maybedup(), name_duporclone(), name_length(), REQUIRE, RETERR, and uint16_fromregion().
static void freestruct_any_tsig | ( | ARGS_FREESTRUCT | ) | [inline, static] |
static isc_result_t additionaldata_any_tsig | ( | ARGS_ADDLDATA | ) | [inline, static] |
static isc_result_t digest_any_tsig | ( | ARGS_DIGEST | ) | [inline, static] |
Definition at line 559 of file tsig_250.c.
References arg, digest, ISC_R_NOTIMPLEMENTED, REQUIRE, and UNUSED.
static isc_boolean_t checkowner_any_tsig | ( | ARGS_CHECKOWNER | ) | [inline, static] |
static isc_boolean_t checknames_any_tsig | ( | ARGS_CHECKNAMES | ) | [inline, static] |
static int casecompare_any_tsig | ( | ARGS_COMPARE | ) | [inline, static] |