Retro Rocket Kernel BASIC-Powered Operating System

Data Fields
dns_header Struct Reference

`#include <dns.h>`

Collaboration diagram for dns_header:
[legend]

## Data Fields
uint16_t | id
uint8_t | flags1
uint8_t | flags2
uint16_t | qdcount
uint16_t | ancount
uint16_t | nscount
uint16_t | arcount
uint8_t | payload [512]

## Detailed Description

Represents a dns request/reply header, and its payload as opaque data.

## Field Documentation

## ◆ ancount

uint16_t dns_header::ancount

## ◆ arcount

uint16_t dns_header::arcount

## ◆ flags1

uint8_t dns_header::flags1

## ◆ flags2

uint8_t dns_header::flags2

## ◆ id

uint16_t dns_header::id

## ◆ nscount

uint16_t dns_header::nscount

## ◆ payload

uint8_t dns_header::payload[512]

## ◆ qdcount

uint16_t dns_header::qdcount