Go to the source code of this file.
Defines | |
#define | RRTYPE_RT_ATTRIBUTES (0) |
Functions | |
static isc_result_t | fromtext_rt (ARGS_FROMTEXT) |
static isc_result_t | totext_rt (ARGS_TOTEXT) |
static isc_result_t | fromwire_rt (ARGS_FROMWIRE) |
static isc_result_t | towire_rt (ARGS_TOWIRE) |
static int | compare_rt (ARGS_COMPARE) |
static isc_result_t | fromstruct_rt (ARGS_FROMSTRUCT) |
static isc_result_t | tostruct_rt (ARGS_TOSTRUCT) |
static void | freestruct_rt (ARGS_FREESTRUCT) |
static isc_result_t | additionaldata_rt (ARGS_ADDLDATA) |
static isc_result_t | digest_rt (ARGS_DIGEST) |
static isc_boolean_t | checkowner_rt (ARGS_CHECKOWNER) |
static isc_boolean_t | checknames_rt (ARGS_CHECKNAMES) |
static int | casecompare_rt (ARGS_COMPARE) |
static isc_result_t fromtext_rt | ( | ARGS_FROMTEXT | ) | [inline, static] |
Definition at line 30 of file rt_21.c.
References isc_tokenvalue_t::as_region, isc_tokenvalue_t::as_ulong, buffer, buffer_fromregion(), callbacks, dns_name_fromtext(), dns_name_init(), dns_name_ishostname(), DNS_R_BADNAME, DNS_RDATA_CHECKNAMES, DNS_RDATA_CHECKNAMESFAIL, dns_rootname, ISC_FALSE, isc_lex_getmastertoken(), ISC_R_RANGE, ISC_R_SUCCESS, isc_tokentype_number, isc_tokentype_string, ISC_TRUE, name, origin, rdclass, REQUIRE, RETERR, RETTOK, token, uint16_tobuffer(), UNUSED, isc_token::value, and warn_badname().
static isc_result_t totext_rt | ( | ARGS_TOTEXT | ) | [inline, static] |
Definition at line 66 of file rt_21.c.
References dns_name_fromregion(), dns_name_init(), dns_name_totext(), dns_rdata_toregion(), isc_region_consume, name, name_prefix(), REQUIRE, RETERR, str_totext(), and uint16_fromregion().
static isc_result_t fromwire_rt | ( | ARGS_FROMWIRE | ) | [inline, static] |
Definition at line 92 of file rt_21.c.
References isc_region::base, DNS_COMPRESS_NONE, dns_decompress_setmethods(), dns_name_fromwire(), dns_name_init(), isc_buffer_activeregion, isc_buffer_add, isc_buffer_availableregion, isc_buffer_forward, ISC_R_NOSPACE, ISC_R_UNEXPECTEDEND, isc_region::length, name, rdclass, REQUIRE, and UNUSED.
static isc_result_t towire_rt | ( | ARGS_TOWIRE | ) | [inline, static] |
Definition at line 119 of file rt_21.c.
References isc_region::base, DNS_COMPRESS_NONE, dns_compress_setmethods(), dns_name_fromregion(), dns_name_init(), dns_name_towire(), dns_rdata_toregion(), isc_buffer_add, isc_buffer_availableregion, ISC_R_NOSPACE, isc_region_consume, isc_region::length, name, and REQUIRE.
static int compare_rt | ( | ARGS_COMPARE | ) | [inline, static] |
Definition at line 144 of file rt_21.c.
References dns_name_fromregion(), dns_name_init(), dns_name_rdatacompare(), dns_rdata_toregion(), isc_region_consume, and REQUIRE.
Referenced by casecompare_rt().
static isc_result_t fromstruct_rt | ( | ARGS_FROMSTRUCT | ) | [inline, static] |
Definition at line 177 of file rt_21.c.
References dns_name_toregion(), isc_buffer_copyregion(), rdclass, REQUIRE, RETERR, uint16_tobuffer(), and UNUSED.
static isc_result_t tostruct_rt | ( | ARGS_TOSTRUCT | ) | [inline, static] |
Definition at line 195 of file rt_21.c.
References dns_name_fromregion(), dns_name_init(), dns_rdata_toregion(), ISC_LINK_INIT, ISC_R_SUCCESS, isc_region_consume, mctx, name, name_duporclone(), REQUIRE, RETERR, and uint16_fromregion().
static void freestruct_rt | ( | ARGS_FREESTRUCT | ) | [inline, static] |
static isc_result_t additionaldata_rt | ( | ARGS_ADDLDATA | ) | [inline, static] |
Definition at line 235 of file rt_21.c.
References arg, dns_name_fromregion(), dns_name_init(), dns_rdata_toregion(), ISC_R_SUCCESS, isc_region_consume, name, and REQUIRE.
static isc_result_t digest_rt | ( | ARGS_DIGEST | ) | [inline, static] |
Definition at line 258 of file rt_21.c.
References arg, digest, dns_name_digest(), dns_name_fromregion(), dns_name_init(), dns_rdata_toregion(), ISC_R_SUCCESS, isc_region_consume, isc_region::length, name, r1, r2, and REQUIRE.
static isc_boolean_t checkowner_rt | ( | ARGS_CHECKOWNER | ) | [inline, static] |
static isc_boolean_t checknames_rt | ( | ARGS_CHECKNAMES | ) | [inline, static] |
Definition at line 291 of file rt_21.c.
References dns_name_clone(), dns_name_fromregion(), dns_name_init(), dns_name_ishostname(), dns_rdata_toregion(), ISC_FALSE, isc_region_consume, ISC_TRUE, name, REQUIRE, and UNUSED.
static int casecompare_rt | ( | ARGS_COMPARE | ) | [inline, static] |