dhcp_session Struct Reference

A DHCP session. More...


Data Fields

struct refcnt refcnt
 Reference counter.
struct job_interface job
 Job control interface.
struct xfer_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.
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 long start
 Start time of the current state (in ticks).
struct dhcp_offercurrent_offer
 DHCP offer just requested.
struct dhcp_offer offers [DHCP_MAX_OFFERS]
 List of DHCP offers received.


Detailed Description

A DHCP session.

Definition at line 240 of file dhcp.c.


Field Documentation

Reference counter.

Definition at line 242 of file dhcp.c.

Referenced by start_dhcp(), and start_pxebs().

Job control interface.

Definition at line 244 of file dhcp.c.

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

Data transfer interface.

Definition at line 246 of file dhcp.c.

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

Network device being configured.

Definition at line 249 of file dhcp.c.

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

Local socket address.

Definition at line 251 of file dhcp.c.

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

State of the session.

Definition at line 253 of file dhcp.c.

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

PXE Boot Server type.

Definition at line 256 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 258 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 260 of file dhcp.c.

Referenced by dhcp_pxebs_accept(), and start_pxebs().

Retransmission timer.

Definition at line 263 of file dhcp.c.

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

unsigned long dhcp_session::start

Start time of the current state (in ticks).

Definition at line 265 of file dhcp.c.

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

DHCP offer just requested.

Definition at line 268 of file dhcp.c.

Referenced by dhcp_proxy_expired(), dhcp_proxy_rx(), dhcp_proxy_tx(), dhcp_request_rx(), and dhcp_request_tx().

struct dhcp_offer dhcp_session::offers[DHCP_MAX_OFFERS] [read]

List of DHCP offers received.

Definition at line 270 of file dhcp.c.

Referenced by dhcp_free(), dhcp_next_offer(), and dhcp_rx_offer().


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

Generated on Tue Apr 6 20:02:03 2010 for gPXE by  doxygen 1.5.7.1