Thu Apr 28 2011 17:14:05

Asterisk developer's documentation


dns_HEADER Struct Reference

Data Fields

unsigned aa:1
unsigned ad:1
unsigned ancount:16
unsigned arcount:16
unsigned cd:1
unsigned id:16
unsigned nscount:16
unsigned opcode:4
unsigned qdcount:16
unsigned qr:1
unsigned ra:1
unsigned rcode:4
unsigned rd:1
unsigned tc:1
unsigned unused:1

Detailed Description

Definition at line 117 of file dns.c.


Field Documentation

unsigned aa

authoritive answer

Definition at line 123 of file dns.c.

unsigned ad

authentic data from named

Definition at line 129 of file dns.c.

unsigned ancount

number of answer entries

Definition at line 149 of file dns.c.

Referenced by dns_parse_answer().

unsigned arcount

number of resource entries

Definition at line 151 of file dns.c.

unsigned cd

checking disabled by resolver

Definition at line 130 of file dns.c.

unsigned id

query identification number

Definition at line 118 of file dns.c.

unsigned nscount

number of authority entries

Definition at line 150 of file dns.c.

unsigned opcode

purpose of message

Definition at line 122 of file dns.c.

unsigned qdcount

number of question entries

Definition at line 148 of file dns.c.

Referenced by dns_parse_answer().

unsigned qr

response flag

Definition at line 121 of file dns.c.

unsigned ra

recursion available

Definition at line 127 of file dns.c.

unsigned rcode

response code

Definition at line 131 of file dns.c.

unsigned rd

recursion desired

Definition at line 125 of file dns.c.

unsigned tc

truncated message

Definition at line 124 of file dns.c.

unsigned unused

unused bits (MBZ as of 4.9.3a3)

Definition at line 128 of file dns.c.


The documentation for this struct was generated from the following file: