Manual Pages for Linux CentOS command on man ldns_rr2buffer_wire
MyWebUniversity

Manual Pages for Linux CentOS command on man ldns_rr2buffer_wire

ldns(3) Library Functions Manual ldns(3)

NAME ldnspkt2bufferstr, ldnspktheader2bufferstr, ldnsrr2bufferstr, ldnsrrlist2bufferstr, ldnsrdf2bufferstr, ldnskey2bufferstr, ldnspkt2bufferwire, ldnsrr2bufferwire, ldnsrdf2bufferwire, ldnsrrsig2bufferwire, ldnsrrrdata2bufferwire SYNOPSIS

#include

#include

#include ldnsstatus ldnspkt2bufferstr(ldnsbuffer *output, const ldnspkt *pkt); ldnsstatus ldnspktheader2bufferstr(ldnsbuffer *output, const ldnspkt *pkt); ldnsstatus ldnsrr2bufferstr(ldnsbuffer *output, const ldnsrr *rr); ldnsstatus ldnsrrlist2bufferstr(ldnsbuffer *output, const ldnsrrlist *list); ldnsstatus ldnsrdf2bufferstr(ldnsbuffer *output, const ldnsrdf *rdf); ldnsstatus ldnskey2bufferstr(ldnsbuffer *output, const ldnskey *k); ldnsstatus ldnspkt2bufferwire(ldnsbuffer *output, const ldnspkt *pkt); ldnsstatus ldnsrr2bufferwire(ldnsbuffer *output, const ldnsrr *rr, int section); ldnsstatus ldnsrdf2bufferwire(ldnsbuffer *output, const ldnsrdf *rdf); ldnsstatus ldnsrrsig2bufferwire(ldnsbuffer *output, const ldnsrr *sigrr); ldnsstatus ldnsrrrdata2bufferwire(ldnsbuffer *output, const ldnsrr *rr); DESCRIPTION ldnspkt2bufferstr() Converts the data in the DNS packet to presenta‐ tion format (as char *) and appends it to the given buffer output: pointer to the buffer to append the data to pkt: the pointer to the packet to convert Returns status ldnspktheader2bufferstr() Converts the header of a packet to presen‐ tation format and appends it to the output buffer output: the buffer to append output to pkt: the packet to convert the header of Returns ldnsstatus ldnsrr2bufferstr() Converts the data in the resource record to pre‐ sentation format (as char *) and appends it to the given buffer. The presentation format of DNSKEY record is annotated with com‐ ments giving the id, type and size of the key. output: pointer to the buffer to append the data to rr: the pointer to the rr field to convert Returns status ldnsrrlist2bufferstr() Converts a rrlist to presentation format and appends it to the output buffer output: the buffer to append output to list: the ldnsrrlist to print Returns ldnsstatus ldnsrdf2bufferstr() Converts the data in the rdata field to presenta‐ tion format (as char *) and appends it to the given buffer output: pointer to the buffer to append the data to rdf: the pointer to the rdafa field containing the data Returns status ldnskey2bufferstr() Converts the data in the DNS packet to presenta‐ tion format (as char *) and appends it to the given buffer output: pointer to the buffer to append the data to k: the pointer to the private key to convert Returns status ldnspkt2bufferwire() Copies the packet data to the buffer in wire format *output: buffer to append the result to *pkt: packet to convert Returns ldnsstatus ldnsrr2bufferwire() Copies the rr data to the buffer in wire format *output: buffer to append the result to *rr: resource record to convert section: the section in the packet this rr is supposed to be in (to determine whether to add rdata or not) Returns ldnsstatus ldnsrdf2bufferwire() Copies the rdata data to the buffer in wire for‐ mat *output: buffer to append the result to *rdf: rdata to convert Returns ldnsstatus ldnsrrsig2bufferwire() Converts a rrsig to wireformat BUT EXCLUDE the rrsig rdata This is needed in DNSSEC verification output: buffer to append the result to sigrr: signature rr to operate on Returns ldnsstatus ldnsrrrdata2bufferwire() Converts an rr's rdata to wireformat, while excluding the ownername and all the stuff before the rdata. This is needed in DNSSEC keytag calculation, the ds calcalution from the key and maybe elsewhere. *output: buffer where to put the result *rr: rr to operate on Returns ldnsstatus 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 ldnspkt2str, ldnsrr2str, ldnsrdf2str, ldnsrrlist2str, ldnskey2str. 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)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™