ldns(3) ldns(3)
NAME
ldns_pkt, ldns_pkt_section, ldns_pkt_type
SYNOPSIS
#include <stdint.h>
#include <stdbool.h>
#include <ldns/ldns.h>
ldns_pkt_section();
ldns_pkt_type();
DESCRIPTION
ldns_pkt
DNS packet
This structure contains a complete DNS packet (either a query or
an answer)
It is the complete representation of what you actually send to a
nameserver, and what it sends back (assuming you are the client
here).
struct ldns_struct_pkt
{
Header section:
ldns_hdr *_header;
/* extra items needed in a packet */
The size of the wire format of the packet in octets:
ldns_rdf *_answerfrom;
Timestamp of the time the packet was sent or created:
struct timeval timestamp;
The duration of the query this packet is an answer to:
uint32_t _querytime;
The size of the wire format of the packet in octets:
size_t _size;
Optional tsig rr:
ldns_rr *_tsig_rr;
EDNS0 available buffer size, see RFC2671:
uint16_t _edns_udp_size;
EDNS0 Extended rcode:
uint8_t _edns_extended_rcode;
EDNS Version:
uint8_t _edns_version;
Reserved EDNS data bits:
uint16_t _edns_z;
Arbitrary EDNS rdata:
ldns_rdf *_edns_data;
Question section:
ldns_rr_list *_question;
Answer section:
ldns_rr_list *_answer;
Authority section:
ldns_rr_list *_authority;
Additional section:
ldns_rr_list *_additional;
};
typedef struct ldns_struct_pkt ldns_pkt;
ldns_pkt_section()
ldns_pkt_type()
AUTHOR
The ldns team at NLnet Labs. Which consists out of Jelte Jansen and
Miek Gieben.
REPORTING BUGS
Please report bugs to ldns-team@nlnetlabs.nl or in our bugzilla at
http://www.nlnetlabs.nl/bugs/index.html
COPYRIGHT
Copyright (c) 2004 - 2006 NLnet Labs.
Licensed under the BSD License. There is NO warranty; not even for MER-
CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
SEE ALSO
ldns_pkt_new(3), ldns_pkt_free(3), ldns_pkt_print(3),
ldns_pkt_query_new(3), ldns_pkt_query_new_frm_str(3),
ldns_pkt_reply_type(3), ldns_pkt_id(3), ldns_pkt_qr(3),
ldns_pkt_aa(3), ldns_pkt_tc(3), ldns_pkt_rd(3), ldns_pkt_cd(3),
ldns_pkt_ra(3), ldns_pkt_ad(3), ldns_pkt_get_opcode(3),
ldns_pkt_get_rcode(3), ldns_pkt_qdcount(3), ldns_pkt_ancount(3),
ldns_pkt_nscount(3), ldns_pkt_arcount(3), ldns_pkt_answerfrom(3),
ldns_pkt_querytime(3), ldns_pkt_size(3), ldns_pkt_tsig(3),
ldns_pkt_question(3), ldns_pkt_answer(3), ldns_pkt_authority(3),
ldns_pkt_additional(3), ldns_pkt_get_section_clone(3),
ldns_pkt_rr_list_by_name(3), ldns_pkt_rr_list_by_type(3),
ldns_pkt_rr_list_by_name_and_type(3), ldns_pkt_set_flags(3),
ldns_pkt_set_id(3), ldns_pkt_set_qr(3), ldns_pkt_set_aa(3),
ldns_pkt_set_tc(3), ldns_pkt_set_rd(3), ldns_pkt_set_cd(3),
ldns_pkt_set_ra(3), ldns_pkt_set_ad(3), ldns_pkt_set_opcode(3),
ldns_pkt_set_rcode(3), ldns_pkt_set_qdcount(3),
ldns_pkt_set_ancount(3), ldns_pkt_set_nscount(3),
ldns_pkt_set_arcount(3), ldns_pkt_set_answerfrom(3),
ldns_pkt_set_querytime(3), ldns_pkt_set_size(3),
ldns_pkt_set_section_count(3), ldns_pkt_set_tsig(3), ldns_pkt_edns(3),
ldns_pkt_edns_udp_size(3), ldns_pkt_edns_extended_rcode(3),
ldns_pkt_edns_version(3), ldns_pkt_edns_z(3), ldns_pkt_edns_data(3),
ldns_pkt_set_edns_udp_size(3), ldns_pkt_set_edns_extended_rcode(3),
ldns_pkt_set_edns_version(3), ldns_pkt_set_edns_z(3),
ldns_pkt_set_edns_data(3). And perldoc Net::DNS(3), RFC1034, RFC1035,
RFC4033, RFC4034 and RFC4035.
REMARKS
This manpage was automaticly generated from the ldns source code by use
of Doxygen and some perl.
30 May 2006 ldns(3)
ldns 1.6.17 - Generated Wed Feb 5 07:32:02 CST 2014
