Converts the data in the DNS packet to presentation
format (as char *) and appends it to the given buffer
.br
output: pointer to the buffer to append the data to
.br
pkt: the pointer to the packet to convert
.br
Returns status
ldns_pktheader2buffer_str()
Converts the header of a packet to presentation format and appends it to
the output buffer
.br
output: the buffer to append output to
.br
pkt: the packet to convert the header of
.br
Returns ldns_status
ldns_rr2buffer_str()
Converts the data in the resource record to presentation
format (as char *) and appends it to the given buffer
.br
output: pointer to the buffer to append the data to
.br
rr: the pointer to the rr field to convert
.br
Returns status
ldns_rr_list2buffer_str()
Converts a rr_list to presentation format and appends it to
the output buffer
.br
output: the buffer to append output to
.br
list: the ldns_rr_list to print
.br
Returns ldns_status
ldns_rdf2buffer_str()
Converts the data in the rdata field to presentation
format (as char *) and appends it to the given buffer
.br
output: pointer to the buffer to append the data to
.br
rdf: the pointer to the rdafa field containing the data
.br
Returns status
ldns_key2buffer_str()
Converts the data in the DNS packet to presentation
format (as char *) and appends it to the given buffer
.br
output: pointer to the buffer to append the data to
.br
k: the pointer to the private key to convert
.br
Returns status
ldns_pkt2buffer_wire()
Copies the packet data to the buffer in wire format
.br
*output: buffer to append the result to
.br
*pkt: packet to convert
.br
Returns ldns_status
ldns_rr2buffer_wire()
Copies the rr data to the buffer in wire format
.br
*output: buffer to append the result to
.br
*rr: resource record to convert
.br
section: the section in the packet this rr is supposed to be in
(to determine whether to add rdata or not)
.br
Returns ldns_status
ldns_rdf2buffer_wire()
Copies the rdata data to the buffer in wire format
.br
*output: buffer to append the result to
.br
*rdf: rdata to convert
.br
Returns ldns_status
ldns_rrsig2buffer_wire()
Converts a rrsig to wireformat BUT EXCLUDE the rrsig rdata
This is needed in DNSSEC verification
.br
output: buffer to append the result to
.br
sigrr: signature rr to operate on
.br
Returns ldns_status
ldns_rr_rdata2buffer_wire()
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.
.br
*output: buffer where to put the result
.br
*rr: rr to operate on
.br
Returns ldns_status
AUTHOR
The ldns team at NLnet Labs. Which consists out of
Jelte Jansen and Miek Gieben.