1ldns(25 Apr 2005) ldns(25 Apr 2005)
2
3
4
6 ldns_buffer2pkt_wire
7
8
10 #ifdef HAVE_STDINT_H
11 #include <stdint.h>
12 #endif /* HAVE_STDINT_H */
13
14 #ifdef HAVE_STDBOOL_H
15 #include <stdbool.h>
16 #endif /* HAVE_STDBOOL_H */
17
18 #include <ldns/ldns.h>
19
20 ldns_status ldns_buffer2pkt_wire(ldns_pkt **packet, ldns_buffer *buf‐
21 fer);
22
24 ldns_buffer2pkt_wire() converts the data on the uint8_t bytearray (in
25 wire format) to a DNS packet. This function will initialize and
26 allocate memory space for the packet structure.
27
28 packet: pointer to the structure to hold the packet
29 buffer: the buffer with the data
30 Returns LDNS_STATUS_OK if everything succeeds, error otherwise
31
33 The ldns team at NLnet Labs. Which consists out of: Jelte Jansen, Erik
34 Rozendaal and Miek Gieben.
35
36
38 Please report bugs to ldns-team@nlnetlabs.nl or in our Bugzilla at
39 http://www.nlnetlabs.nl/bugs/index.html
40
41 Be sure to select ldns as the product.
42
43
45 Copyright (c) 2004, 2005 NLnet Labs. Licensed under the BSD License.
46 There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
47 PARTICULAR PURPOSE.
48
50 perldoc Net::DNS, RFC1043, RFC1035, RFC4033, RFC4034 and RFC4035.
51
53 This manpage was automaticly generated from the ldns source code by use
54 of Doxygen and some perl.
55
56
57
58 ldns(25 Apr 2005)