API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

AEEDNSFLAG

Brew Release
Brew MP 1.0.2
See Also
IDNSOptions_SetQueryFlag() IDNSOptions_GetQueryFlag()
Description
This is an unsigned 16-bit integer used to define the DNS flags.
Members
  • AEEDNSFLAG_QR:          Query/Response bit;  1 => response
  • AEEDNSFLAG_OPCODE_MASK: 4-bit
  • AEEDNSFLAG_AA:          authoritative answer
  • AEEDNSFLAG_TC:          message was truncated
  • AEEDNSFLAG_RD:          recursion desired
  • AEEDNSFLAG_RA:          recursion available
  • AEEDNSFLAG_Z:           3-bit
  • AEEDNSFLAG_RCODE_MASK:  4-bit
Definition
  •    #define AEEDNSFLAG_QR            0x8000
       #define AEEDNSFLAG_OPCODE_MASK   0x7800
       #define AEEDNSFLAG_AA            0x0400
       #define AEEDNSFLAG_TC            0x0200
       #define AEEDNSFLAG_RD            0x0100
       #define AEEDNSFLAG_RA            0x0080
       #define AEEDNSFLAG_Z             0x0070
       #define AEEDNSFLAG_RCODE_MASK    0x000F
       
       typedef uint16 AEEDNSFlag;
    
Comments
None