iPXE
Data Fields
dns_header Struct Reference

A DNS packet header. More...

#include <dns.h>

Data Fields

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

Detailed Description

A DNS packet header.

Definition at line 65 of file dns.h.


Field Documentation

Query identifier.

Definition at line 67 of file dns.h.

Referenced by dns_send_packet(), and dns_xfer_deliver().

Flags.

Definition at line 69 of file dns.h.

Referenced by dns_resolv().

Number of question records.

Definition at line 71 of file dns.h.

Referenced by dns_resolv(), and dns_xfer_deliver().

Number of answer records.

Definition at line 73 of file dns.h.

Number of name server records.

Definition at line 75 of file dns.h.

Number of additional records.

Definition at line 77 of file dns.h.


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