Go to the source code of this file.
Defines | |
#define | RRTYPE_OPT_ATTRIBUTES |
Functions | |
static isc_result_t | fromtext_opt (ARGS_FROMTEXT) |
static isc_result_t | totext_opt (ARGS_TOTEXT) |
static isc_result_t | fromwire_opt (ARGS_FROMWIRE) |
static isc_result_t | towire_opt (ARGS_TOWIRE) |
static int | compare_opt (ARGS_COMPARE) |
static isc_result_t | fromstruct_opt (ARGS_FROMSTRUCT) |
static isc_result_t | tostruct_opt (ARGS_TOSTRUCT) |
static void | freestruct_opt (ARGS_FREESTRUCT) |
static isc_result_t | additionaldata_opt (ARGS_ADDLDATA) |
static isc_result_t | digest_opt (ARGS_DIGEST) |
static isc_boolean_t | checkowner_opt (ARGS_CHECKOWNER) |
static isc_boolean_t | checknames_opt (ARGS_CHECKNAMES) |
static int | casecompare_opt (ARGS_COMPARE) |
isc_result_t | dns_rdata_opt_first (dns_rdata_opt_t *opt) |
isc_result_t | dns_rdata_opt_next (dns_rdata_opt_t *opt) |
isc_result_t | dns_rdata_opt_current (dns_rdata_opt_t *opt, dns_rdata_opt_opcode_t *opcode) |
#define RRTYPE_OPT_ATTRIBUTES |
Value:
static isc_result_t fromtext_opt | ( | ARGS_FROMTEXT | ) | [inline, static] |
static isc_result_t totext_opt | ( | ARGS_TOTEXT | ) | [inline, static] |
Definition at line 51 of file opt_41.c.
References dns_rdata_toregion(), DNS_STYLEFLAG_MULTILINE, INSIST, isc_base64_totext(), ISC_R_SUCCESS, isc_region_consume, isc_region::length, r, REQUIRE, RETERR, str_totext(), and uint16_fromregion().
static isc_result_t fromwire_opt | ( | ARGS_FROMWIRE | ) | [inline, static] |
Definition at line 97 of file opt_41.c.
References isc_region::base, DNS_OPT_CLIENT_SUBNET, DNS_OPT_EXPIRE, DNS_R_FORMERR, isc_buffer_activeregion, isc_buffer_add, isc_buffer_availableregion, isc_buffer_forward, ISC_R_NOSPACE, ISC_R_SUCCESS, ISC_R_UNEXPECTEDEND, isc_region_consume, isc_region::length, rdclass, REQUIRE, uint16_fromregion(), uint8_fromregion(), and UNUSED.
static isc_result_t towire_opt | ( | ARGS_TOWIRE | ) | [inline, static] |
static int compare_opt | ( | ARGS_COMPARE | ) | [inline, static] |
Definition at line 191 of file opt_41.c.
References dns_rdata_toregion(), isc_region_compare(), r1, r2, and REQUIRE.
Referenced by casecompare_opt().
static isc_result_t fromstruct_opt | ( | ARGS_FROMSTRUCT | ) | [inline, static] |
Definition at line 205 of file opt_41.c.
References isc_region::base, ISC_R_UNEXPECTEDEND, isc_region_consume, isc_region::length, mem_tobuffer(), rdclass, REQUIRE, uint16_fromregion(), and UNUSED.
static isc_result_t tostruct_opt | ( | ARGS_TOSTRUCT | ) | [inline, static] |
Definition at line 236 of file opt_41.c.
References isc_region::base, dns_rdata_toregion(), ISC_LINK_INIT, ISC_R_NOMEMORY, ISC_R_SUCCESS, isc_region::length, mctx, mem_maybedup(), r, and REQUIRE.
static void freestruct_opt | ( | ARGS_FREESTRUCT | ) | [inline, static] |
static isc_result_t additionaldata_opt | ( | ARGS_ADDLDATA | ) | [inline, static] |
static isc_result_t digest_opt | ( | ARGS_DIGEST | ) | [inline, static] |
static isc_boolean_t checkowner_opt | ( | ARGS_CHECKOWNER | ) | [inline, static] |
Definition at line 301 of file opt_41.c.
References dns_name_equal(), dns_rootname, name, rdclass, REQUIRE, and UNUSED.
static isc_boolean_t checknames_opt | ( | ARGS_CHECKNAMES | ) | [inline, static] |
static int casecompare_opt | ( | ARGS_COMPARE | ) | [inline, static] |
isc_result_t dns_rdata_opt_first | ( | dns_rdata_opt_t * | opt | ) |
isc_result_t dns_rdata_opt_next | ( | dns_rdata_opt_t * | opt | ) |
Definition at line 344 of file opt_41.c.
References isc_region::base, INSIST, ISC_R_NOMORE, ISC_R_SUCCESS, isc_region::length, r, REQUIRE, and uint16_fromregion().
isc_result_t dns_rdata_opt_current | ( | dns_rdata_opt_t * | opt, | |
dns_rdata_opt_opcode_t * | opcode | |||
) |
Definition at line 365 of file opt_41.c.
References isc_region::base, INSIST, ISC_R_SUCCESS, isc_region_consume, isc_region::length, r, REQUIRE, and uint16_fromregion().