a_1.c File Reference

#include <isc/net.h>

Go to the source code of this file.

Defines

#define RRTYPE_A_ATTRIBUTES   (0)

Functions

static isc_result_t fromtext_ch_a (ARGS_FROMTEXT)
static isc_result_t totext_ch_a (ARGS_TOTEXT)
static isc_result_t fromwire_ch_a (ARGS_FROMWIRE)
static isc_result_t towire_ch_a (ARGS_TOWIRE)
static int compare_ch_a (ARGS_COMPARE)
static isc_result_t fromstruct_ch_a (ARGS_FROMSTRUCT)
static isc_result_t tostruct_ch_a (ARGS_TOSTRUCT)
static void freestruct_ch_a (ARGS_FREESTRUCT)
static isc_result_t additionaldata_ch_a (ARGS_ADDLDATA)
static isc_result_t digest_ch_a (ARGS_DIGEST)
static isc_boolean_t checkowner_ch_a (ARGS_CHECKOWNER)
static isc_boolean_t checknames_ch_a (ARGS_CHECKNAMES)
static int casecompare_ch_a (ARGS_COMPARE)


Define Documentation

#define RRTYPE_A_ATTRIBUTES   (0)

Definition at line 27 of file a_1.c.


Function Documentation

static isc_result_t fromtext_ch_a ( ARGS_FROMTEXT   )  [inline, static]

Definition at line 30 of file a_1.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_RDATA_CHECKREVERSE, dns_rootname, ISC_FALSE, isc_lex_getmastertoken(), isc_lex_getoctaltoken(), ISC_R_RANGE, isc_tokentype_string, name, origin, rdclass, REQUIRE, RETERR, RETTOK, token, uint16_tobuffer(), UNUSED, isc_token::value, and warn_badname().

static isc_result_t totext_ch_a ( ARGS_TOTEXT   )  [inline, static]

Definition at line 67 of file a_1.c.

References dns_name_fromregion(), dns_name_init(), dns_name_totext(), dns_rdata_toregion(), isc_region_consume, name, name_length(), name_prefix(), REQUIRE, RETERR, str_totext(), and uint16_fromregion().

static isc_result_t fromwire_ch_a ( ARGS_FROMWIRE   )  [inline, static]

Definition at line 96 of file a_1.c.

References isc_region::base, DNS_COMPRESS_GLOBAL14, 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_SUCCESS, ISC_R_UNEXPECTEDEND, isc_region::length, name, rdclass, REQUIRE, RETERR, and UNUSED.

static isc_result_t towire_ch_a ( ARGS_TOWIRE   )  [inline, static]

Definition at line 128 of file a_1.c.

References isc_region::base, DNS_COMPRESS_GLOBAL14, 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_R_SUCCESS, isc_region_consume, isc_region::length, name, name_length(), REQUIRE, and RETERR.

static int compare_ch_a ( ARGS_COMPARE   )  [inline, static]

Definition at line 158 of file a_1.c.

References dns_name_fromregion(), dns_name_init(), dns_name_rdatacompare(), dns_rdata_toregion(), isc_region_consume, name_length(), and REQUIRE.

Referenced by casecompare_ch_a().

static isc_result_t fromstruct_ch_a ( ARGS_FROMSTRUCT   )  [inline, static]

Definition at line 194 of file a_1.c.

References dns_name_toregion(), isc_buffer_copyregion(), rdclass, REQUIRE, RETERR, uint16_tobuffer(), and UNUSED.

static isc_result_t tostruct_ch_a ( ARGS_TOSTRUCT   )  [inline, static]

Definition at line 213 of file a_1.c.

References dns_name_fromregion(), dns_name_init(), dns_rdata_toregion(), ISC_LINK_INIT, ISC_R_SUCCESS, isc_region_consume, mctx, name, name_duporclone(), name_length(), REQUIRE, RETERR, and uint16_fromregion().

static void freestruct_ch_a ( ARGS_FREESTRUCT   )  [inline, static]

Definition at line 240 of file a_1.c.

References dns_name_free(), and REQUIRE.

static isc_result_t additionaldata_ch_a ( ARGS_ADDLDATA   )  [inline, static]

Definition at line 254 of file a_1.c.

References arg, ISC_R_SUCCESS, REQUIRE, and UNUSED.

static isc_result_t digest_ch_a ( ARGS_DIGEST   )  [inline, static]

Definition at line 267 of file a_1.c.

References arg, digest, dns_name_digest(), dns_name_fromregion(), dns_name_init(), dns_rdata_toregion(), isc_region_consume, name, name_length(), r, REQUIRE, and RETERR.

static isc_boolean_t checkowner_ch_a ( ARGS_CHECKOWNER   )  [inline, static]

Definition at line 284 of file a_1.c.

References dns_name_ishostname(), name, rdclass, REQUIRE, and UNUSED.

static isc_boolean_t checknames_ch_a ( ARGS_CHECKNAMES   )  [inline, static]

Definition at line 295 of file a_1.c.

References dns_name_clone(), dns_name_fromregion(), dns_name_init(), dns_name_ishostname(), dns_rdata_toregion(), ISC_FALSE, ISC_TRUE, name, REQUIRE, and UNUSED.

static int casecompare_ch_a ( ARGS_COMPARE   )  [inline, static]

Definition at line 317 of file a_1.c.

References compare_ch_a().


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