Asterisk - The Open Source Telephony Project GIT-master-27fb039
Loading...
Searching...
No Matches
Data Fields
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 124 of file dns.c.

Field Documentation

◆ aa

unsigned aa

authoritative answer

Definition at line 130 of file dns.c.

◆ ad

unsigned ad

authentic data from named

Definition at line 136 of file dns.c.

◆ ancount

unsigned ancount

number of answer entries

Definition at line 156 of file dns.c.

Referenced by dns_parse_answer(), and dns_parse_answer_ex().

◆ arcount

unsigned arcount

number of resource entries

Definition at line 158 of file dns.c.

◆ cd

unsigned cd

checking disabled by resolver

Definition at line 137 of file dns.c.

◆ id

unsigned id

query identification number

Definition at line 125 of file dns.c.

Referenced by Section::__cmp__(), Section::__eq__(), Section::__ge__(), Section::__gt__(), Section::__le__(), and Section::__lt__().

◆ nscount

unsigned nscount

number of authority entries

Definition at line 157 of file dns.c.

◆ opcode

unsigned opcode

purpose of message

Definition at line 129 of file dns.c.

◆ qdcount

unsigned qdcount

number of question entries

Definition at line 155 of file dns.c.

Referenced by dns_parse_answer(), and dns_parse_answer_ex().

◆ qr

unsigned qr

response flag

Definition at line 128 of file dns.c.

◆ ra

unsigned ra

recursion available

Definition at line 134 of file dns.c.

◆ rcode

unsigned rcode

response code

Definition at line 138 of file dns.c.

Referenced by dns_parse_answer_ex().

◆ rd

unsigned rd

recursion desired

Definition at line 132 of file dns.c.

◆ tc

unsigned tc

truncated message

Definition at line 131 of file dns.c.

◆ unused

unsigned unused

unused bits (MBZ as of 4.9.3a3)

Definition at line 135 of file dns.c.


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