ldns_struct_hdr Struct Reference

Header of a dns packet. More...


Data Fields

uint16_t _id
 Id of a packet.
bool _qr
 Query bit (0=query, 1=answer).
bool _aa
 Authoritative answer.
bool _tc
 Packet truncated.
bool _rd
 Recursion desired.
bool _cd
 Checking disabled.
bool _ra
 Recursion available.
bool _ad
 Authentic data.
ldns_pkt_opcode _opcode
 Query type.
uint8_t _rcode
 Response code.
uint16_t _qdcount
 question sec
uint16_t _ancount
 answer sec
uint16_t _nscount
 auth sec
uint16_t _arcount
 add sec


Detailed Description

Header of a dns packet.

Contains the information about the packet itself

Definition at line 35 of file packet.h.


Field Documentation

bool ldns_struct_hdr::_aa

Authoritative answer.

Definition at line 42 of file packet.h.

bool ldns_struct_hdr::_ad

Authentic data.

Definition at line 52 of file packet.h.

uint16_t ldns_struct_hdr::_ancount

answer sec

Definition at line 60 of file packet.h.

uint16_t ldns_struct_hdr::_arcount

add sec

Definition at line 64 of file packet.h.

bool ldns_struct_hdr::_cd

Checking disabled.

Definition at line 48 of file packet.h.

uint16_t ldns_struct_hdr::_id

Id of a packet.

Definition at line 38 of file packet.h.

uint16_t ldns_struct_hdr::_nscount

auth sec

Definition at line 62 of file packet.h.

ldns_pkt_opcode ldns_struct_hdr::_opcode

Query type.

Definition at line 54 of file packet.h.

uint16_t ldns_struct_hdr::_qdcount

question sec

Definition at line 58 of file packet.h.

bool ldns_struct_hdr::_qr

Query bit (0=query, 1=answer).

Definition at line 40 of file packet.h.

bool ldns_struct_hdr::_ra

Recursion available.

Definition at line 50 of file packet.h.

uint8_t ldns_struct_hdr::_rcode

Response code.

Definition at line 56 of file packet.h.

bool ldns_struct_hdr::_rd

Recursion desired.

Definition at line 46 of file packet.h.

bool ldns_struct_hdr::_tc

Packet truncated.

Definition at line 44 of file packet.h.


Generated on Mon Sep 11 20:08:48 2006 for ldns by  doxygen 1.4.7