iPXE
Data Fields
dns_request Struct Reference

A DNS request. More...

Data Fields

struct refcnt refcnt
 Reference counter.
struct interface resolv
 Name resolution interface.
struct interface socket
 Data transfer interface.
struct retry_timer timer
 Retry timer.
union {
   struct sockaddr   sa
   struct sockaddr_in   sin
   struct sockaddr_in6   sin6
address
 Socket address to fill in with resolved address.
uint16_t qtype
 Initial query type.
struct {
   struct dns_header   query
 Query header.
   char   name [DNS_MAX_NAME_LEN]
 Name buffer.
   struct dns_question   padding
 Space for question.
buf
 Buffer for current query.
struct dns_name name
 Current query name.
struct dns_questionquestion
 Question within current query.
size_t len
 Length of current query.
size_t offset
 Offset of search suffix within current query.
struct dns_name search
 Search list.
unsigned int recursion
 Recursion counter.

Detailed Description

A DNS request.

Definition at line 440 of file dns.c.


Field Documentation

Reference counter.

Definition at line 442 of file dns.c.

Referenced by dns_resolv().

Name resolution interface.

Definition at line 444 of file dns.c.

Referenced by dns_resolv(), and dns_resolved().

Data transfer interface.

Definition at line 446 of file dns.c.

Referenced by dns_resolv(), and dns_send_packet().

Retry timer.

Definition at line 448 of file dns.c.

Referenced by dns_resolv(), dns_send_packet(), and dns_xfer_deliver().

Definition at line 452 of file dns.c.

Referenced by dns_resolv(), and dns_resolved().

Definition at line 453 of file dns.c.

Referenced by dns_xfer_deliver().

Definition at line 454 of file dns.c.

Referenced by dns_xfer_deliver().

union { ... } dns_request::address

Socket address to fill in with resolved address.

Referenced by dns_resolv(), dns_resolved(), and dns_xfer_deliver().

Initial query type.

Definition at line 457 of file dns.c.

Referenced by dns_question(), dns_resolv(), and dns_xfer_deliver().

Query header.

Definition at line 461 of file dns.c.

Referenced by dns_resolv(), dns_send_packet(), and dns_xfer_deliver().

Name buffer.

Definition at line 463 of file dns.c.

Referenced by dns_progress(), dns_question(), dns_resolv(), dns_send_packet(), and dns_xfer_deliver().

Space for question.

Definition at line 465 of file dns.c.

Referenced by dns_resolv().

struct { ... } dns_request::buf

Buffer for current query.

Referenced by dns_question(), dns_resolv(), dns_send_packet(), and dns_xfer_deliver().

Current query name.

Definition at line 468 of file dns.c.

Question within current query.

Definition at line 470 of file dns.c.

Referenced by dns_question(), dns_send_packet(), and dns_xfer_deliver().

Length of current query.

Definition at line 472 of file dns.c.

Referenced by apply_dns_search(), dns_progress(), dns_question(), dns_send_packet(), and format_dnssl_setting().

Offset of search suffix within current query.

Definition at line 474 of file dns.c.

Referenced by apply_dns_settings(), dns_question(), dns_resolv(), and dns_xfer_deliver().

Search list.

Definition at line 476 of file dns.c.

Referenced by dns_question(), dns_resolv(), and dns_xfer_deliver().

unsigned int dns_request::recursion

Recursion counter.

Definition at line 478 of file dns.c.

Referenced by dns_xfer_deliver().


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