Go to the source code of this file.
Defines | |
#define | RRTYPE_HIP_ATTRIBUTES (0) |
Functions | |
static isc_result_t | fromtext_hip (ARGS_FROMTEXT) |
static isc_result_t | totext_hip (ARGS_TOTEXT) |
static isc_result_t | fromwire_hip (ARGS_FROMWIRE) |
static isc_result_t | towire_hip (ARGS_TOWIRE) |
static int | compare_hip (ARGS_COMPARE) |
static isc_result_t | fromstruct_hip (ARGS_FROMSTRUCT) |
static isc_result_t | tostruct_hip (ARGS_TOSTRUCT) |
static void | freestruct_hip (ARGS_FREESTRUCT) |
static isc_result_t | additionaldata_hip (ARGS_ADDLDATA) |
static isc_result_t | digest_hip (ARGS_DIGEST) |
static isc_boolean_t | checkowner_hip (ARGS_CHECKOWNER) |
static isc_boolean_t | checknames_hip (ARGS_CHECKNAMES) |
isc_result_t | dns_rdata_hip_first (dns_rdata_hip_t *hip) |
isc_result_t | dns_rdata_hip_next (dns_rdata_hip_t *hip) |
void | dns_rdata_hip_current (dns_rdata_hip_t *hip, dns_name_t *name) |
static int | casecompare_hip (ARGS_COMPARE) |
static isc_result_t fromtext_hip | ( | ARGS_FROMTEXT | ) | [inline, static] |
Definition at line 29 of file hip_55.c.
References isc_tokenvalue_t::as_region, isc_tokenvalue_t::as_ulong, buffer, buffer_fromregion(), callbacks, DNS_AS_STR, dns_name_fromtext(), dns_name_init(), dns_rootname, isc_base64_decodestring(), isc_buffer_used, ISC_FALSE, isc_hex_decodestring(), isc_lex_getmastertoken(), isc_lex_ungettoken(), ISC_R_RANGE, ISC_R_SUCCESS, isc_tokentype_number, isc_tokentype_string, ISC_TRUE, name, origin, rdclass, REQUIRE, RETERR, RETTOK, start, token, isc_token::type, uint16_tobuffer(), uint8_tobuffer(), UNUSED, and isc_token::value.
static isc_result_t totext_hip | ( | ARGS_TOTEXT | ) | [inline, static] |
Definition at line 122 of file hip_55.c.
References algorithm, dns_name_fromregion(), dns_name_init(), dns_name_totext(), dns_rdata_toregion(), DNS_STYLEFLAG_MULTILINE, INSIST, isc_base64_totext(), ISC_FALSE, isc_hex_totext(), ISC_R_SUCCESS, isc_region_consume, dns_name::length, isc_region::length, name, REQUIRE, RETERR, str_totext(), uint16_fromregion(), and uint8_fromregion().
static isc_result_t fromwire_hip | ( | ARGS_FROMWIRE | ) | [inline, static] |
Definition at line 190 of file hip_55.c.
References isc_region::base, DNS_COMPRESS_NONE, dns_decompress_setmethods(), dns_name_fromwire(), dns_name_init(), DNS_R_FORMERR, isc_buffer_activelength, isc_buffer_activeregion, isc_buffer_forward, ISC_R_SUCCESS, isc_region_consume, isc_region::length, mem_tobuffer(), name, rdclass, REQUIRE, RETERR, uint16_fromregion(), uint8_fromregion(), and UNUSED.
static isc_result_t towire_hip | ( | ARGS_TOWIRE | ) | [inline, static] |
Definition at line 229 of file hip_55.c.
References isc_region::base, dns_rdata_toregion(), isc_region::length, mem_tobuffer(), REQUIRE, and UNUSED.
static int compare_hip | ( | ARGS_COMPARE | ) | [inline, static] |
Definition at line 242 of file hip_55.c.
References dns_rdata_toregion(), isc_region_compare(), and REQUIRE.
static isc_result_t fromstruct_hip | ( | ARGS_FROMSTRUCT | ) | [inline, static] |
Definition at line 258 of file hip_55.c.
References dns_rdata_hip_first(), dns_rdata_hip_next(), ISC_R_SUCCESS, mem_tobuffer(), rdclass, REQUIRE, RETERR, uint16_tobuffer(), uint8_tobuffer(), and UNUSED.
static isc_result_t tostruct_hip | ( | ARGS_TOSTRUCT | ) | [inline, static] |
Definition at line 291 of file hip_55.c.
References isc_region::base, cleanup(), 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(), REQUIRE, uint16_fromregion(), and uint8_fromregion().
static void freestruct_hip | ( | ARGS_FREESTRUCT | ) | [inline, static] |
static isc_result_t additionaldata_hip | ( | ARGS_ADDLDATA | ) | [inline, static] |
static isc_result_t digest_hip | ( | ARGS_DIGEST | ) | [inline, static] |
static isc_boolean_t checkowner_hip | ( | ARGS_CHECKOWNER | ) | [inline, static] |
static isc_boolean_t checknames_hip | ( | ARGS_CHECKNAMES | ) | [inline, static] |
isc_result_t dns_rdata_hip_first | ( | dns_rdata_hip_t * | hip | ) |
Definition at line 413 of file hip_55.c.
References ISC_R_NOMORE, and ISC_R_SUCCESS.
Referenced by fromstruct_hip().
isc_result_t dns_rdata_hip_next | ( | dns_rdata_hip_t * | hip | ) |
Definition at line 421 of file hip_55.c.
References isc_region::base, dns_name_fromregion(), dns_name_init(), INSIST, ISC_R_NOMORE, ISC_R_SUCCESS, dns_name::length, isc_region::length, and name.
Referenced by fromstruct_hip().
void dns_rdata_hip_current | ( | dns_rdata_hip_t * | hip, | |
dns_name_t * | name | |||
) |
Definition at line 438 of file hip_55.c.
References isc_region::base, dns_name_fromregion(), INSIST, dns_name::length, isc_region::length, and REQUIRE.
static int casecompare_hip | ( | ARGS_COMPARE | ) | [inline, static] |
Definition at line 451 of file hip_55.c.
References isc_region::base, 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, REQUIRE, uint16_fromregion(), and uint8_fromregion().