opt_41.c File Reference

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 Documentation

#define RRTYPE_OPT_ATTRIBUTES

Value:

Definition at line 27 of file opt_41.c.


Function Documentation

static isc_result_t fromtext_opt ( ARGS_FROMTEXT   )  [inline, static]

Definition at line 32 of file opt_41.c.

References callbacks, ISC_R_NOTIMPLEMENTED, origin, rdclass, REQUIRE, and UNUSED.

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]

Definition at line 181 of file opt_41.c.

References mem_tobuffer(), REQUIRE, and UNUSED.

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]

Definition at line 259 of file opt_41.c.

References isc_mem_free, and REQUIRE.

static isc_result_t additionaldata_opt ( ARGS_ADDLDATA   )  [inline, static]

Definition at line 274 of file opt_41.c.

References arg, ISC_R_SUCCESS, REQUIRE, and UNUSED.

static isc_result_t digest_opt ( ARGS_DIGEST   )  [inline, static]

Definition at line 285 of file opt_41.c.

References arg, digest, ISC_R_NOTIMPLEMENTED, REQUIRE, and UNUSED.

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]

Definition at line 313 of file opt_41.c.

References ISC_TRUE, REQUIRE, and UNUSED.

static int casecompare_opt ( ARGS_COMPARE   )  [inline, static]

Definition at line 325 of file opt_41.c.

References compare_opt().

isc_result_t dns_rdata_opt_first ( dns_rdata_opt_t *  opt  ) 

Definition at line 330 of file opt_41.c.

References ISC_R_NOMORE, ISC_R_SUCCESS, and REQUIRE.

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().


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