Ripples 1.0
High Performant Software Architecture For Transaction Processing
Loading...
Searching...
No Matches
rip_ns_header_s Struct Reference

#include <rip_ns_utils.h>

Data Fields

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

Detailed Description

Structure for DNS query header. The order of the fields is machine- and compiler-dependent, depending on the byte/bit order and the layout of bit fields. We use bit fields only in int variables, as this is all ANSI requires.

Field Documentation

◆ aa

unsigned rip_ns_header_s::aa

authoritative answer

◆ ad

unsigned rip_ns_header_s::ad

authentic data from named

authentic data from named , removed in RFC 1035

◆ ancount

unsigned rip_ns_header_s::ancount

number of answer entries

◆ arcount

unsigned rip_ns_header_s::arcount

number of resource entries

◆ cd

unsigned rip_ns_header_s::cd

checking disabled by resolver

checking disabled by resolver , removed in RFC 1035

◆ id

unsigned rip_ns_header_s::id

query identification number

◆ nscount

unsigned rip_ns_header_s::nscount

number of authority entries

◆ opcode

unsigned rip_ns_header_s::opcode

purpose of message

◆ qdcount

unsigned rip_ns_header_s::qdcount

number of question entries

◆ qr

unsigned rip_ns_header_s::qr

response flag

◆ ra

unsigned rip_ns_header_s::ra

recursion available

◆ rcode

unsigned rip_ns_header_s::rcode

response code

◆ rd

unsigned rip_ns_header_s::rd

recursion desired

◆ tc

unsigned rip_ns_header_s::tc

truncated message

◆ unused

unsigned rip_ns_header_s::unused

unused bits (MBZ as of 4.9.3a3)


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