ldns_buffer2pkt_wire3
Convert buffer/wire format to ldns_pkt
Usage
#include <stdint.h>
#include <stdbool.h>
#include <ldns/ldns.h>
ldns_status ldns_buffer2pkt_wire(ldns_pkt **packet, const ldns_buffer *buffer);
Overview
ldns_buffer2pkt_wire() converts the data in the ldns_buffer (in wire format) to a DNS packet. This function will initialize and allocate memory space for the packet structure.
.br packet: pointer to the structure to hold the packet .br buffer: the buffer with the data .br Returns LDNS_STATUS_OK if everything succeeds, error otherwise
Remarks
This manpage was automatically generated from the ldns source code.
Releases
10 releases since Debian 5.0 (Lenny); the text changed 5 times.