ldns_rdf_type (3) - Linux Manuals
NAME
ldns_rdf, ldns_rdf_typeSYNOPSIS
#include <stdint.h>#include <stdbool.h>
#include <ldns/ldns.h>
DESCRIPTION
- ldns_rdf
- Resource record data field.
The data is a network ordered array of bytes, which size is specified by
the (16-bit) size field. To correctly parse it, use the type
specified in the (16-bit) type field with a value from \ref ldns_rdf_type.
struct ldns_struct_rdf
{
The size of the data (in octets):
size_t _size;
The type of the data:
ldns_rdf_type _type;
Pointer to the data (raw octets):
void *_data;
};
typedef struct ldns_struct_rdf ldns_rdf;
- ldns_rdf_type
- The different types of RDATA fields.
enum ldns_enum_rdf_type
{
none:
LDNS_RDF_TYPE_NONE,
domain name:
LDNS_RDF_TYPE_DNAME,
8 bits:
LDNS_RDF_TYPE_INT8,
16 bits:
LDNS_RDF_TYPE_INT16,
32 bits:
LDNS_RDF_TYPE_INT32,
A record:
LDNS_RDF_TYPE_A,
AAAA record:
LDNS_RDF_TYPE_AAAA,
txt string:
LDNS_RDF_TYPE_STR,
apl data:
LDNS_RDF_TYPE_APL,
b32 string:
LDNS_RDF_TYPE_B32_EXT,
b64 string:
LDNS_RDF_TYPE_B64,
hex string:
LDNS_RDF_TYPE_HEX,
nsec type codes:
LDNS_RDF_TYPE_NSEC,
a RR type:
LDNS_RDF_TYPE_TYPE,
a class:
LDNS_RDF_TYPE_CLASS,
certificate algorithm:
LDNS_RDF_TYPE_CERT_ALG,
a key algorithm:
LDNS_RDF_TYPE_ALG,
unknown types:
LDNS_RDF_TYPE_UNKNOWN,
time (32 bits):
LDNS_RDF_TYPE_TIME,
period:
LDNS_RDF_TYPE_PERIOD,
tsig time 48 bits:
LDNS_RDF_TYPE_TSIGTIME,
LDNS_RDF_TYPE_TSIG,
/** variable length any type rdata where the length
is specified by the first 2 bytes */
LDNS_RDF_TYPE_INT16_DATA,
protocol and port bitmaps:
LDNS_RDF_TYPE_SERVICE,
location data:
LDNS_RDF_TYPE_LOC,
well known services:
LDNS_RDF_TYPE_WKS,
NSAP:
LDNS_RDF_TYPE_NSAP,
ATMA:
LDNS_RDF_TYPE_ATMA,
IPSECKEY:
LDNS_RDF_TYPE_IPSECKEY,
nsec3 hash salt:
LDNS_RDF_TYPE_NSEC3_SALT,
nsec3 base32 string (with length byte on wire:
LDNS_RDF_TYPE_NSEC3_NEXT_OWNER
};
typedef enum ldns_enum_rdf_type ldns_rdf_type;
AUTHOR
The ldns team at NLnet Labs. Which consists out of Jelte Jansen and Miek Gieben.REPORTING BUGS
Please report bugs to ldns-team [at] nlnetlabs.nl or in our bugzilla at http://www.nlnetlabs.nl/bugs/index.htmlCOPYRIGHT
Copyright (c) 2004 - 2006 NLnet Labs.Licensed under the BSD License. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
REMARKS
This manpage was automaticly generated from the ldns source code by use of Doxygen and some perl.