1ldns(3)                    Library Functions Manual                    ldns(3)
2
3
4

NAME

6       ldns_buffer2pkt_wire - convert buffer/wire format to ldns_pkt
7
8

SYNOPSIS

10       #include <stdint.h>
11       #include <stdbool.h>
12
13       #include <ldns/ldns.h>
14
15       ldns_status ldns_buffer2pkt_wire(ldns_pkt **packet, const ldns_buffer
16       *buffer);
17

DESCRIPTION

19       ldns_buffer2pkt_wire() converts the data in the ldns_buffer (in wire
20              format) to a DNS packet.  This function will initialize and
21              allocate memory space for the packet structure.
22
23              packet: pointer to the structure to hold the packet
24              buffer: the buffer with the data
25              Returns LDNS_STATUS_OK if everything succeeds, error otherwise
26

AUTHOR

28       The ldns team at NLnet Labs. Which consists out of Jelte Jansen and
29       Miek Gieben.
30
31

REPORTING BUGS

33       Please report bugs to ldns-team@nlnetlabs.nl or in our bugzilla at
34       http://www.nlnetlabs.nl/bugs/index.html
35
36
38       Copyright (c) 2004 - 2006 NLnet Labs.
39
40       Licensed under the BSD License. There is NO warranty; not even for MER‐
41       CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
42

SEE ALSO

44       perldoc Net::DNS, RFC1034, RFC1035, RFC4033, RFC4034 and RFC4035.
45

REMARKS

47       This manpage was automatically generated from the ldns source code by
48       use of Doxygen and some perl.
49
50
51
52                                  30 May 2006                          ldns(3)
Impressum