iPXE
Data Fields
dhcp_session Struct Reference

A DHCP session. More...

Data Fields

struct refcnt refcnt
 Reference counter.
struct interface job
 Job control interface.
struct interface xfer
 Data transfer interface.
struct net_devicenetdev
 Network device being configured.
struct sockaddr_in local
 Local socket address.
struct dhcp_session_statestate
 State of the session.
uint32_t xid
 Transaction ID (in network-endian order)
struct in_addr offer
 Offered IP address.
struct in_addr server
 DHCP server.
int priority
 DHCP offer priority.
int no_pxedhcp
 ProxyDHCP protocol extensions should be ignored.
struct in_addr proxy_server
 ProxyDHCP server.
struct dhcp_packetproxy_offer
 ProxyDHCP offer.
int proxy_priority
 ProxyDHCP offer priority.
uint16_t pxe_type
 PXE Boot Server type.
struct in_addrpxe_attempt
 List of PXE Boot Servers to attempt.
struct in_addrpxe_accept
 List of PXE Boot Servers to accept.
struct retry_timer timer
 Retransmission timer.
unsigned int count
 Transmission counter.
unsigned long start
 Start time of the current state (in ticks)

Detailed Description

A DHCP session.

Definition at line 199 of file dhcp.c.


Field Documentation

Reference counter.

Definition at line 201 of file dhcp.c.

Referenced by start_dhcp(), and start_pxebs().

Job control interface.

Definition at line 203 of file dhcp.c.

Referenced by dhcp_finished(), start_dhcp(), and start_pxebs().

Data transfer interface.

Definition at line 205 of file dhcp.c.

Referenced by dhcp_finished(), dhcp_tx(), start_dhcp(), and start_pxebs().

Network device being configured.

Definition at line 208 of file dhcp.c.

Referenced by dhcp_deliver(), dhcp_discovery_expired(), dhcp_free(), dhcp_request_rx(), dhcp_tx(), start_dhcp(), and start_pxebs().

Local socket address.

Definition at line 210 of file dhcp.c.

Referenced by dhcp_request_rx(), dhcp_tx(), start_dhcp(), and start_pxebs().

State of the session.

Definition at line 212 of file dhcp.c.

Referenced by dhcp_deliver(), dhcp_set_state(), dhcp_timer_expired(), and dhcp_tx().

Transaction ID (in network-endian order)

Definition at line 214 of file dhcp.c.

Referenced by dhcp_deliver(), dhcp_tx(), and start_dhcp().

Offered IP address.

Definition at line 217 of file dhcp.c.

Referenced by dhcp_discovery_expired(), dhcp_discovery_rx(), dhcp_request_rx(), dhcp_request_tx(), and dhcp_tx().

DHCP server.

Definition at line 219 of file dhcp.c.

Referenced by dhcp_discovery_rx(), dhcp_request_rx(), and dhcp_request_tx().

DHCP offer priority.

Definition at line 221 of file dhcp.c.

Referenced by dhcp_discovery_rx().

ProxyDHCP protocol extensions should be ignored.

Definition at line 224 of file dhcp.c.

Referenced by dhcp_discovery_rx(), and dhcp_request_rx().

ProxyDHCP server.

Definition at line 226 of file dhcp.c.

Referenced by dhcp_discovery_rx(), dhcp_proxy_rx(), and dhcp_proxy_tx().

ProxyDHCP offer.

Definition at line 228 of file dhcp.c.

Referenced by dhcp_discovery_rx(), dhcp_free(), dhcp_request_rx(), and dhcp_tx().

ProxyDHCP offer priority.

Definition at line 230 of file dhcp.c.

Referenced by dhcp_discovery_rx().

PXE Boot Server type.

Definition at line 233 of file dhcp.c.

Referenced by dhcp_pxebs_rx(), dhcp_pxebs_tx(), pxebs_list(), and start_pxebs().

List of PXE Boot Servers to attempt.

Definition at line 235 of file dhcp.c.

Referenced by dhcp_pxebs_expired(), dhcp_pxebs_tx(), and start_pxebs().

List of PXE Boot Servers to accept.

Definition at line 237 of file dhcp.c.

Referenced by dhcp_pxebs_accept(), and start_pxebs().

Retransmission timer.

Definition at line 240 of file dhcp.c.

Referenced by dhcp_discovery_expired(), dhcp_finished(), dhcp_set_state(), dhcp_tx(), start_dhcp(), and start_pxebs().

unsigned int dhcp_session::count

Transmission counter.

Definition at line 242 of file dhcp.c.

Referenced by dhcp_discovery_expired(), dhcp_timer_expired(), and dhcp_tx().

unsigned long dhcp_session::start

Start time of the current state (in ticks)

Definition at line 244 of file dhcp.c.

Referenced by dhcp_discovery_expired(), dhcp_discovery_rx(), dhcp_proxy_expired(), dhcp_pxebs_expired(), and dhcp_set_state().


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