iPXE
Data Fields
dns_header Struct Reference

A DNS packet header. More...

#include <dns.h>

Data Fields

uint16_t id
 Query identifier. More...
 
uint16_t flags
 Flags. More...
 
uint16_t qdcount
 Number of question records. More...
 
uint16_t ancount
 Number of answer records. More...
 
uint16_t nscount
 Number of name server records. More...
 
uint16_t arcount
 Number of additional records. More...
 

Detailed Description

A DNS packet header.

Definition at line 65 of file dns.h.

Field Documentation

◆ id

uint16_t dns_header::id

Query identifier.

Definition at line 67 of file dns.h.

Referenced by dns_send_packet(), and dns_xfer_deliver().

◆ flags

uint16_t dns_header::flags

Flags.

Definition at line 69 of file dns.h.

Referenced by dns_resolv().

◆ qdcount

uint16_t dns_header::qdcount

Number of question records.

Definition at line 71 of file dns.h.

Referenced by dns_resolv(), and dns_xfer_deliver().

◆ ancount

uint16_t dns_header::ancount

Number of answer records.

Definition at line 73 of file dns.h.

◆ nscount

uint16_t dns_header::nscount

Number of name server records.

Definition at line 75 of file dns.h.

◆ arcount

uint16_t dns_header::arcount

Number of additional records.

Definition at line 77 of file dns.h.


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