NAME ldnsrdf, ldnsrdftype SYNOPSIS
#include
#include
#include
DESCRIPTION ldnsrdf 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 ldnsrdftype. struct ldnsstructrdf { The size of the data (in octets): sizet size; The type of the data: ldnsrdftype type; Pointer to the data (raw octets): void *data; }; typedef struct ldnsstructrdf ldnsrdf; ldnsrdftype The different types of RDATA fields. enum ldnsenumrdftype { none: LDNSRDFTYPENONE, domain name: LDNSRDFTYPEDNAME, 8 bits: LDNSRDFTYPEINT8, 16 bits: LDNSRDFTYPEINT16, 32 bits: LDNSRDFTYPEINT32, A record: LDNSRDFTYPEA, AAAA record: LDNSRDFTYPEAAAA, txt string: LDNSRDFTYPESTR, apl data: LDNSRDFTYPEAPL, b32 string: LDNSRDFTYPEB32EXT, b64 string: LDNSRDFTYPEB64, hex string: LDNSRDFTYPEHEX, nsec type codes: LDNSRDFTYPENSEC, a RR type: LDNSRDFTYPETYPE, a class: LDNSRDFTYPECLASS, certificate algorithm: LDNSRDFTYPECERTALG, a key algorithm: LDNSRDFTYPEALG, unknown types: LDNSRDFTYPEUNKNOWN, time (32 bits): LDNSRDFTYPETIME, period: LDNSRDFTYPEPERIOD, tsig time 48 bits: LDNSRDFTYPETSIGTIME, LDNSRDFTYPETSIG, /** variable length any type rdata where the length is specified by the first 2 bytes */ LDNSRDFTYPEINT16DATA, protocol and port bitmaps: LDNSRDFTYPESERVICE, location data: LDNSRDFTYPELOC, well known services: LDNSRDFTYPEWKS, NSAP: LDNSRDFTYPENSAP, ATMA: LDNSRDFTYPEATMA, IPSECKEY: LDNSRDFTYPEIPSECKEY, nsec3 hash salt: LDNSRDFTYPENSEC3SALT, nsec3 base32 string (with length byte on wire: LDNSRDFTYPENSEC3NEXTOWNER }; typedef enum ldnsenumrdftype ldnsrdftype; AUTHOR The ldns team at NLnet Labs. Which consists out of Jelte Jansen and Miek Gieben. REPORTING BUGS
Please report bugs to ldns-team@nlnetlabs.nl or in our bugzilla at http://www.nlnetlabs.nl/bugs/index.html COPYRIGHT
Copyright (c) 2004 - 2006 NLnet Labs. Licensed under the BSD License. There is NO warranty; not even for MER‐ CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. SEE ALSO ldnsrdfsetsize, ldnsrdfsettype, ldnsrdfsetdata, ldnsrdfsize, ldnsrdfgettype, ldnsrdfdata, ldnsrdfcompare, ldnsrdfnew, ldnsrdfclone, ldnsrdfnewfrmdata, ldnsrdfnewfrmstr, ldnsrdfnewfrmfp, ldnsrdffree, ldnsrdfdeepfree, ldnsrdfprint, ldnsnative2rdfint8, ldnsnative2rdfint16, ldnsnative2rdfint32, ldnsnative2rdfint16data, ldnsrdf2nativeint8, ldnsrdf2nativeint16, ldnsrdf2nativeint32, ldnsrdf2nativesock‐ addrstorage, ldnsrdf2nativetimet, ldnsnative2rdfint8, ldnsnative2rdfint16, ldnsnative2rdfint32, ldnsnative2rdfint16data, ldnsrdf2nativeint8, ldnsrdf2nativeint16, ldnsrdf2nativeint32, ldnsrdf2nativesock‐ addrstorage, ldnsrdf2nativetimet, ldnsnative2rdfint8, ldnsnative2rdfint16, ldnsnative2rdfint32, ldnsnative2rdfint16data, ldnsrdf2nativeint8, ldnsrdf2nativeint16, ldnsrdf2nativeint32, ldnsrdf2nativesock‐ addrstorage, ldnsrdf2nativetimet. And perldoc Net::DNS, RFC1034, RFC1035, RFC4033, RFC4034 and RFC4035. REMARKS This manpage was automaticly generated from the ldns source code by use of Doxygen and some perl. 30 May 2006 ldns(3)