Sese Framework  2.3.0
A cross-platform framework
Loading...
Searching...
No Matches
sese::net::dns::DnsPackage::Flags Struct Reference

DNS Flags Utility. More...

#include <DnsPackage.h>

Public Member Functions

uint16_t encode () const
 
void decode (uint16_t flags)
 

Public Attributes

bool qr = false
 
uint8_t opcode = 0
 
bool aa = false
 
bool tc = false
 
bool rd = false
 
bool ra = false
 
uint8_t z = false
 
uint8_t rcode = false
 

Detailed Description

DNS Flags Utility.

Member Function Documentation

◆ decode()

void sese::net::dns::DnsPackage::Flags::decode ( uint16_t flags)

References aa, opcode, qr, ra, rcode, rd, tc, and z.

◆ encode()

uint16_t sese::net::dns::DnsPackage::Flags::encode ( ) const
nodiscard

Member Data Documentation

◆ aa

bool sese::net::dns::DnsPackage::Flags::aa = false

Referenced by decode().

◆ opcode

uint8_t sese::net::dns::DnsPackage::Flags::opcode = 0

Referenced by decode().

◆ qr

bool sese::net::dns::DnsPackage::Flags::qr = false

Referenced by decode().

◆ ra

bool sese::net::dns::DnsPackage::Flags::ra = false

Referenced by decode().

◆ rcode

uint8_t sese::net::dns::DnsPackage::Flags::rcode = false

Referenced by decode().

◆ rd

bool sese::net::dns::DnsPackage::Flags::rd = false

Referenced by decode().

◆ tc

bool sese::net::dns::DnsPackage::Flags::tc = false

Referenced by decode().

◆ z

uint8_t sese::net::dns::DnsPackage::Flags::z = false

Referenced by decode().


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