nid_104.c File Reference

#include <string.h>
#include <isc/net.h>

Go to the source code of this file.

Defines

#define RRTYPE_NID_ATTRIBUTES   (0)

Functions

static isc_result_t fromtext_nid (ARGS_FROMTEXT)
static isc_result_t totext_nid (ARGS_TOTEXT)
static isc_result_t fromwire_nid (ARGS_FROMWIRE)
static isc_result_t towire_nid (ARGS_TOWIRE)
static int compare_nid (ARGS_COMPARE)
static isc_result_t fromstruct_nid (ARGS_FROMSTRUCT)
static isc_result_t tostruct_nid (ARGS_TOSTRUCT)
static void freestruct_nid (ARGS_FREESTRUCT)
static isc_result_t additionaldata_nid (ARGS_ADDLDATA)
static isc_result_t digest_nid (ARGS_DIGEST)
static isc_boolean_t checkowner_nid (ARGS_CHECKOWNER)
static isc_boolean_t checknames_nid (ARGS_CHECKNAMES)
static int casecompare_nid (ARGS_COMPARE)


Define Documentation

#define RRTYPE_NID_ATTRIBUTES   (0)

Definition at line 24 of file nid_104.c.


Function Documentation

static isc_result_t fromtext_nid ( ARGS_FROMTEXT   )  [inline, static]

Definition at line 27 of file nid_104.c.

References isc_tokenvalue_t::as_ulong, callbacks, DNS_AS_STR, DNS_R_SYNTAX, ISC_FALSE, isc_lex_getmastertoken(), ISC_R_RANGE, isc_tokentype_number, isc_tokentype_string, locator_pton(), mem_tobuffer(), NS_LOCATORSZ, origin, rdclass, REQUIRE, RETERR, RETTOK, token, uint16_tobuffer(), UNUSED, and isc_token::value.

static isc_result_t totext_nid ( ARGS_TOTEXT   )  [inline, static]

Definition at line 54 of file nid_104.c.

References isc_region::base, dns_rdata_toregion(), isc_region_consume, REQUIRE, RETERR, str_totext(), uint16_fromregion(), and UNUSED.

static isc_result_t fromwire_nid ( ARGS_FROMWIRE   )  [inline, static]

Definition at line 81 of file nid_104.c.

References isc_region::base, DNS_R_FORMERR, isc_buffer_activeregion, isc_buffer_forward, isc_region::length, mem_tobuffer(), rdclass, REQUIRE, and UNUSED.

static isc_result_t towire_nid ( ARGS_TOWIRE   )  [inline, static]

Definition at line 99 of file nid_104.c.

References mem_tobuffer(), REQUIRE, and UNUSED.

static int compare_nid ( ARGS_COMPARE   )  [inline, static]

Definition at line 110 of file nid_104.c.

References dns_rdata_toregion(), isc_region_compare(), and REQUIRE.

Referenced by casecompare_nid().

static isc_result_t fromstruct_nid ( ARGS_FROMSTRUCT   )  [inline, static]

Definition at line 126 of file nid_104.c.

References mem_tobuffer(), rdclass, REQUIRE, RETERR, uint16_tobuffer(), and UNUSED.

static isc_result_t tostruct_nid ( ARGS_TOSTRUCT   )  [inline, static]

Definition at line 142 of file nid_104.c.

References isc_region::base, dns_rdata_toregion(), ISC_LINK_INIT, ISC_R_SUCCESS, isc_region::length, mctx, REQUIRE, uint16_fromregion(), and UNUSED.

static void freestruct_nid ( ARGS_FREESTRUCT   )  [inline, static]

Definition at line 163 of file nid_104.c.

References REQUIRE.

static isc_result_t additionaldata_nid ( ARGS_ADDLDATA   )  [inline, static]

Definition at line 173 of file nid_104.c.

References arg, ISC_R_SUCCESS, REQUIRE, and UNUSED.

static isc_result_t digest_nid ( ARGS_DIGEST   )  [inline, static]

Definition at line 186 of file nid_104.c.

References arg, digest, dns_rdata_toregion(), r, and REQUIRE.

static isc_boolean_t checkowner_nid ( ARGS_CHECKOWNER   )  [inline, static]

Definition at line 198 of file nid_104.c.

References ISC_TRUE, name, rdclass, REQUIRE, and UNUSED.

static isc_boolean_t checknames_nid ( ARGS_CHECKNAMES   )  [inline, static]

Definition at line 211 of file nid_104.c.

References ISC_TRUE, REQUIRE, and UNUSED.

static int casecompare_nid ( ARGS_COMPARE   )  [inline, static]

Definition at line 224 of file nid_104.c.

References compare_nid().


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