Go to the source code of this file.
Functions | |
ldns_status | ldns_rdf2buffer_wire (ldns_buffer *output, const ldns_rdf *rdf) |
Copies the rdata data to the buffer in wire format. | |
ldns_status | ldns_rr2buffer_wire (ldns_buffer *output, const ldns_rr *rr, int section) |
Copies the rr data to the buffer in wire format. | |
ldns_status | ldns_rrsig2buffer_wire (ldns_buffer *output, ldns_rr *sigrr) |
Converts a rrsig to wireformat BUT EXCLUDE the rrsig rdata This is needed in DNSSEC verification. | |
ldns_status | ldns_rr_rdata2buffer_wire (ldns_buffer *output, ldns_rr *rr) |
Converts an rr's rdata to wireformat, while excluding the ownername and all the crap before the rdata. | |
ldns_status | ldns_pkt2buffer_wire (ldns_buffer *output, const ldns_pkt *pkt) |
Copies the packet data to the buffer in wire format. | |
ldns_status | ldns_rr_list2buffer_wire (ldns_buffer *output, ldns_rr_list *rrlist) |
Copies the rr_list data to the buffer in wire format. | |
ldns_status | ldns_rdf2wire (uint8_t **dest, const ldns_rdf *rdf, size_t *size) |
Allocates an array of uint8_t at dest, and puts the wireformat of the given rdf in that array. | |
ldns_status | ldns_rr2wire (uint8_t **dest, const ldns_rr *rr, int, size_t *size) |
Allocates an array of uint8_t at dest, and puts the wireformat of the given rr in that array. | |
ldns_status | ldns_pkt2wire (uint8_t **dest, const ldns_pkt *p, size_t *size) |
Allocates an array of uint8_t at dest, and puts the wireformat of the given packet in that array. |
|
Copies the packet data to the buffer in wire format.
|
|
Allocates an array of uint8_t at dest, and puts the wireformat of the given packet in that array. The result_size value contains the length of the array, if it succeeds, and 0 otherwise (in which case the function also returns NULL) |
|
Copies the rdata data to the buffer in wire format.
|
|
Allocates an array of uint8_t at dest, and puts the wireformat of the given rdf in that array. The result_size value contains the length of the array, if it succeeds, and 0 otherwise (in which case the function also returns NULL)
|
|
Copies the rr data to the buffer in wire format.
|
|
Allocates an array of uint8_t at dest, and puts the wireformat of the given rr in that array. The result_size value contains the length of the array, if it succeeds, and 0 otherwise (in which case the function also returns NULL) If the section argument is LDNS_SECTION_QUESTION, data like ttl and rdata are not put into the result
|
|
Copies the rr_list data to the buffer in wire format.
|
|
Converts an rr's rdata to wireformat, while excluding the ownername and all the crap before the rdata. This is needed in DNSSEC keytag calculation, the ds calcalution from the key and maybe elsewhere.
|
|
Converts a rrsig to wireformat BUT EXCLUDE the rrsig rdata This is needed in DNSSEC verification.
|