#include <string.h>
#include <isc/net.h>
Go to the source code of this file.
Defines | |
#define | RRTYPE_IPSECKEY_ATTRIBUTES (0) |
Functions | |
static isc_result_t | fromtext_ipseckey (ARGS_FROMTEXT) |
static isc_result_t | totext_ipseckey (ARGS_TOTEXT) |
static isc_result_t | fromwire_ipseckey (ARGS_FROMWIRE) |
static isc_result_t | towire_ipseckey (ARGS_TOWIRE) |
static int | compare_ipseckey (ARGS_COMPARE) |
static isc_result_t | fromstruct_ipseckey (ARGS_FROMSTRUCT) |
static isc_result_t | tostruct_ipseckey (ARGS_TOSTRUCT) |
static void | freestruct_ipseckey (ARGS_FREESTRUCT) |
static isc_result_t | additionaldata_ipseckey (ARGS_ADDLDATA) |
static isc_result_t | digest_ipseckey (ARGS_DIGEST) |
static isc_boolean_t | checkowner_ipseckey (ARGS_CHECKOWNER) |
static isc_boolean_t | checknames_ipseckey (ARGS_CHECKNAMES) |
static int | casecompare_ipseckey (ARGS_COMPARE) |
#define RRTYPE_IPSECKEY_ATTRIBUTES (0) |
Definition at line 26 of file ipseckey_45.c.
static isc_result_t fromtext_ipseckey | ( | ARGS_FROMTEXT | ) | [inline, static] |
Definition at line 29 of file ipseckey_45.c.
References AF_INET6, isc_tokenvalue_t::as_region, isc_tokenvalue_t::as_ulong, isc_region::base, buffer, buffer_fromregion(), callbacks, DNS_AS_STR, dns_name_fromtext(), dns_name_init(), DNS_R_BADAAAA, DNS_R_BADDOTTEDQUAD, DNS_R_SYNTAX, dns_rootname, getquad(), isc_base64_tobuffer(), isc_buffer_add, isc_buffer_availableregion, ISC_FALSE, isc_lex_getmastertoken(), ISC_R_NOSPACE, ISC_R_RANGE, isc_tokentype_number, isc_tokentype_string, isc_region::length, name, origin, rdclass, REQUIRE, RETERR, RETTOK, token, uint8_tobuffer(), UNUSED, and isc_token::value.
static isc_result_t totext_ipseckey | ( | ARGS_TOTEXT | ) | [inline, static] |
Definition at line 120 of file ipseckey_45.c.
References AF_INET6, dns_name_fromregion(), dns_name_init(), dns_name_totext(), dns_rdata_toregion(), DNS_STYLEFLAG_MULTILINE, inet_totext(), isc_base64_totext(), ISC_FALSE, ISC_R_NOTIMPLEMENTED, ISC_R_SUCCESS, isc_region_consume, isc_region::length, name, name_length(), REQUIRE, RETERR, str_totext(), and uint8_fromregion().
static isc_result_t fromwire_ipseckey | ( | ARGS_FROMWIRE | ) | [inline, static] |
Definition at line 206 of file ipseckey_45.c.
References isc_region::base, DNS_COMPRESS_NONE, dns_decompress_setmethods(), dns_name_fromwire(), dns_name_init(), isc_buffer_activeregion, isc_buffer_forward, ISC_R_NOTIMPLEMENTED, ISC_R_UNEXPECTEDEND, isc_region::length, mem_tobuffer(), name, rdclass, REQUIRE, RETERR, and UNUSED.
static isc_result_t towire_ipseckey | ( | ARGS_TOWIRE | ) | [inline, static] |
Definition at line 254 of file ipseckey_45.c.
References isc_region::base, dns_rdata_toregion(), isc_region::length, mem_tobuffer(), REQUIRE, and UNUSED.
static int compare_ipseckey | ( | ARGS_COMPARE | ) | [inline, static] |
Definition at line 267 of file ipseckey_45.c.
References dns_rdata_toregion(), isc_region_compare(), and REQUIRE.
static isc_result_t fromstruct_ipseckey | ( | ARGS_FROMSTRUCT | ) | [inline, static] |
Definition at line 284 of file ipseckey_45.c.
References dns_name_toregion(), isc_buffer_copyregion(), ISC_R_NOTIMPLEMENTED, mem_tobuffer(), rdclass, REQUIRE, RETERR, uint32_tobuffer(), uint8_tobuffer(), and UNUSED.
static isc_result_t tostruct_ipseckey | ( | ARGS_TOSTRUCT | ) | [inline, static] |
Definition at line 327 of file ipseckey_45.c.
References isc_region::base, dns_name_free(), dns_name_fromregion(), dns_name_init(), dns_rdata_toregion(), ISC_LINK_INIT, ISC_R_NOMEMORY, ISC_R_NOTIMPLEMENTED, ISC_R_SUCCESS, isc_region_consume, isc_region::length, mctx, mem_maybedup(), name, name_duporclone(), name_length(), REQUIRE, RETERR, uint32_fromregion(), and uint8_fromregion().
static void freestruct_ipseckey | ( | ARGS_FREESTRUCT | ) | [inline, static] |
Definition at line 397 of file ipseckey_45.c.
References dns_name_free(), isc_mem_free, and REQUIRE.
static isc_result_t additionaldata_ipseckey | ( | ARGS_ADDLDATA | ) | [inline, static] |
static isc_result_t digest_ipseckey | ( | ARGS_DIGEST | ) | [inline, static] |
Definition at line 428 of file ipseckey_45.c.
References arg, digest, dns_rdata_toregion(), and REQUIRE.
static isc_boolean_t checkowner_ipseckey | ( | ARGS_CHECKOWNER | ) | [inline, static] |
static isc_boolean_t checknames_ipseckey | ( | ARGS_CHECKNAMES | ) | [inline, static] |
static int casecompare_ipseckey | ( | ARGS_COMPARE | ) | [inline, static] |
Definition at line 463 of file ipseckey_45.c.
References isc_region::base, dns_name_fromregion(), dns_name_init(), dns_name_rdatacompare(), dns_rdata_toregion(), isc_region_compare(), isc_region_consume, name_length(), and REQUIRE.