Mon May 14 04:52:35 2007

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 50 of file dns.c.


Field Documentation

unsigned aa

authoritive answer

Definition at line 56 of file dns.c.

unsigned ad

authentic data from named

Definition at line 62 of file dns.c.

unsigned ancount

number of answer entries

Definition at line 82 of file dns.c.

Referenced by dns_parse_answer().

unsigned arcount

number of resource entries

Definition at line 84 of file dns.c.

unsigned cd

checking disabled by resolver

Definition at line 63 of file dns.c.

unsigned id

query identification number

Definition at line 51 of file dns.c.

unsigned nscount

number of authority entries

Definition at line 83 of file dns.c.

unsigned opcode

purpose of message

Definition at line 55 of file dns.c.

unsigned qdcount

number of question entries

Definition at line 81 of file dns.c.

Referenced by dns_parse_answer().

unsigned qr

response flag

Definition at line 54 of file dns.c.

unsigned ra

recursion available

Definition at line 60 of file dns.c.

unsigned rcode

response code

Definition at line 64 of file dns.c.

unsigned rd

recursion desired

Definition at line 58 of file dns.c.

unsigned tc

truncated message

Definition at line 57 of file dns.c.

unsigned unused

unused bits (MBZ as of 4.9.3a3)

Definition at line 61 of file dns.c.


The documentation for this struct was generated from the following file:
Generated on Mon May 14 04:52:35 2007 for Asterisk - the Open Source PBX by  doxygen 1.5.1