iPXE
|
A DHCP session. More...
Data Fields | |
struct refcnt | refcnt |
Reference counter. More... | |
struct interface | job |
Job control interface. More... | |
struct interface | xfer |
Data transfer interface. More... | |
struct net_device * | netdev |
Network device being configured. More... | |
struct sockaddr_in | local |
Local socket address. More... | |
struct dhcp_session_state * | state |
State of the session. More... | |
uint32_t | xid |
Transaction ID (in network-endian order) More... | |
struct in_addr | offer |
Offered IP address. More... | |
struct in_addr | server |
DHCP server. More... | |
int | priority |
DHCP offer priority. More... | |
int | no_pxedhcp |
ProxyDHCP protocol extensions should be ignored. More... | |
struct in_addr | proxy_server |
ProxyDHCP server. More... | |
struct dhcp_packet * | proxy_offer |
ProxyDHCP offer. More... | |
int | proxy_priority |
ProxyDHCP offer priority. More... | |
uint16_t | pxe_type |
PXE Boot Server type. More... | |
struct in_addr * | pxe_attempt |
List of PXE Boot Servers to attempt. More... | |
struct in_addr * | pxe_accept |
List of PXE Boot Servers to accept. More... | |
struct retry_timer | timer |
Retransmission timer. More... | |
unsigned int | count |
Transmission counter. More... | |
unsigned long | start |
Start time of the current state (in ticks) More... | |
struct refcnt dhcp_session::refcnt |
Reference counter.
Definition at line 202 of file dhcp.c.
Referenced by start_dhcp(), and start_pxebs().
struct interface dhcp_session::job |
Job control interface.
Definition at line 204 of file dhcp.c.
Referenced by dhcp_finished(), start_dhcp(), and start_pxebs().
struct interface dhcp_session::xfer |
Data transfer interface.
Definition at line 206 of file dhcp.c.
Referenced by dhcp_finished(), dhcp_tx(), start_dhcp(), and start_pxebs().
struct net_device* dhcp_session::netdev |
Network device being configured.
Definition at line 209 of file dhcp.c.
Referenced by dhcp_deliver(), dhcp_discovery_expired(), dhcp_free(), dhcp_request_rx(), dhcp_tx(), start_dhcp(), and start_pxebs().
struct sockaddr_in dhcp_session::local |
Local socket address.
Definition at line 211 of file dhcp.c.
Referenced by dhcp_request_rx(), dhcp_tx(), start_dhcp(), and start_pxebs().
struct dhcp_session_state* dhcp_session::state |
State of the session.
Definition at line 213 of file dhcp.c.
Referenced by dhcp_deliver(), dhcp_set_state(), dhcp_timer_expired(), and dhcp_tx().
uint32_t dhcp_session::xid |
Transaction ID (in network-endian order)
Definition at line 215 of file dhcp.c.
Referenced by dhcp_deliver(), dhcp_tx(), and start_dhcp().
struct in_addr dhcp_session::offer |
Offered IP address.
Definition at line 218 of file dhcp.c.
Referenced by dhcp_discovery_expired(), dhcp_discovery_rx(), dhcp_request_rx(), dhcp_request_tx(), and dhcp_tx().
struct in_addr dhcp_session::server |
DHCP server.
Definition at line 220 of file dhcp.c.
Referenced by dhcp_discovery_rx(), dhcp_request_rx(), and dhcp_request_tx().
int dhcp_session::priority |
int dhcp_session::no_pxedhcp |
ProxyDHCP protocol extensions should be ignored.
Definition at line 225 of file dhcp.c.
Referenced by dhcp_discovery_rx(), and dhcp_request_rx().
struct in_addr dhcp_session::proxy_server |
ProxyDHCP server.
Definition at line 227 of file dhcp.c.
Referenced by dhcp_discovery_rx(), dhcp_proxy_rx(), and dhcp_proxy_tx().
struct dhcp_packet* dhcp_session::proxy_offer |
ProxyDHCP offer.
Definition at line 229 of file dhcp.c.
Referenced by dhcp_discovery_rx(), dhcp_free(), dhcp_request_rx(), and dhcp_tx().
int dhcp_session::proxy_priority |
uint16_t dhcp_session::pxe_type |
PXE Boot Server type.
Definition at line 234 of file dhcp.c.
Referenced by dhcp_pxebs_rx(), dhcp_pxebs_tx(), pxebs_list(), and start_pxebs().
struct in_addr* dhcp_session::pxe_attempt |
List of PXE Boot Servers to attempt.
Definition at line 236 of file dhcp.c.
Referenced by dhcp_pxebs_expired(), dhcp_pxebs_tx(), and start_pxebs().
struct in_addr* dhcp_session::pxe_accept |
List of PXE Boot Servers to accept.
Definition at line 238 of file dhcp.c.
Referenced by dhcp_pxebs_accept(), and start_pxebs().
struct retry_timer dhcp_session::timer |
Retransmission timer.
Definition at line 241 of file dhcp.c.
Referenced by dhcp_defer(), dhcp_finished(), dhcp_set_state(), dhcp_tx(), start_dhcp(), and start_pxebs().
unsigned int dhcp_session::count |
Transmission counter.
Definition at line 243 of file dhcp.c.
Referenced by dhcp_defer(), dhcp_timer_expired(), and dhcp_tx().
unsigned long dhcp_session::start |
Start time of the current state (in ticks)
Definition at line 245 of file dhcp.c.
Referenced by dhcp_discovery_expired(), dhcp_discovery_rx(), dhcp_proxy_expired(), dhcp_pxebs_expired(), and dhcp_set_state().