iPXE
|
A DNS request. More...
Data Fields | |
struct refcnt | refcnt |
Reference counter. More... | |
struct interface | resolv |
Name resolution interface. More... | |
struct interface | socket |
Data transfer interface. More... | |
struct retry_timer | timer |
Retry timer. More... | |
union { | |
struct sockaddr sa | |
struct sockaddr_in sin | |
struct sockaddr_in6 sin6 | |
} | address |
Socket address to fill in with resolved address. More... | |
uint16_t | qtype |
Initial query type. More... | |
struct { | |
struct dns_header query | |
Query header. More... | |
char name [DNS_MAX_NAME_LEN] | |
Name buffer. More... | |
struct dns_question padding | |
Space for question. More... | |
} | buf |
Buffer for current query. More... | |
struct dns_name | name |
Current query name. More... | |
struct dns_question * | question |
Question within current query. More... | |
size_t | len |
Length of current query. More... | |
size_t | offset |
Offset of search suffix within current query. More... | |
struct dns_name | search |
Search list. More... | |
unsigned int | index |
Server index. More... | |
unsigned int | recursion |
Recursion counter. More... | |
struct refcnt dns_request::refcnt |
struct interface dns_request::resolv |
Name resolution interface.
Definition at line 456 of file dns.c.
Referenced by dns_done(), dns_resolv(), and dns_resolved().
struct interface dns_request::socket |
Data transfer interface.
Definition at line 458 of file dns.c.
Referenced by dns_done(), dns_resolv(), and dns_send_packet().
struct retry_timer dns_request::timer |
Retry timer.
Definition at line 460 of file dns.c.
Referenced by dns_done(), dns_resolv(), dns_send_packet(), and dns_xfer_deliver().
struct sockaddr dns_request::sa |
Definition at line 464 of file dns.c.
Referenced by dns_resolv(), and dns_resolved().
struct sockaddr_in dns_request::sin |
Definition at line 465 of file dns.c.
Referenced by dns_xfer_deliver().
struct sockaddr_in6 dns_request::sin6 |
Definition at line 466 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().
uint16_t dns_request::qtype |
Initial query type.
Definition at line 469 of file dns.c.
Referenced by dns_question(), dns_resolv(), and dns_xfer_deliver().
struct dns_header dns_request::query |
Query header.
Definition at line 473 of file dns.c.
Referenced by dns_question(), dns_resolv(), dns_send_packet(), dns_timer_expired(), and dns_xfer_deliver().
char dns_request::name[DNS_MAX_NAME_LEN] |
Name buffer.
Definition at line 475 of file dns.c.
Referenced by dns_progress(), dns_question(), dns_resolv(), dns_send_packet(), and dns_xfer_deliver().
struct dns_question dns_request::padding |
struct { ... } dns_request::buf |
Buffer for current query.
Referenced by dns_question(), dns_resolv(), dns_send_packet(), dns_timer_expired(), and dns_xfer_deliver().
struct dns_question* dns_request::question |
Question within current query.
Definition at line 482 of file dns.c.
Referenced by dns_question(), dns_send_packet(), and dns_xfer_deliver().
size_t dns_request::len |
Length of current query.
Definition at line 484 of file dns.c.
Referenced by dns_question(), and dns_send_packet().
size_t dns_request::offset |
Offset of search suffix within current query.
Definition at line 486 of file dns.c.
Referenced by dns_question(), dns_resolv(), and dns_xfer_deliver().
struct dns_name dns_request::search |
Search list.
Definition at line 488 of file dns.c.
Referenced by dns_question(), dns_resolv(), and dns_xfer_deliver().
unsigned int dns_request::index |
Server index.
Definition at line 490 of file dns.c.
Referenced by dns_send_packet(), and dns_timer_expired().
unsigned int dns_request::recursion |