iPXE
|
DHCP session state operations. More...
Data Fields | |
const char * | name |
State name. More... | |
int(* | tx )(struct dhcp_session *dhcp, struct dhcp_packet *dhcppkt, struct sockaddr_in *peer) |
Construct transmitted packet. More... | |
void(* | rx )(struct dhcp_session *dhcp, struct dhcp_packet *dhcppkt, struct sockaddr_in *peer, uint8_t msgtype, struct in_addr server_id, struct in_addr pseudo_id) |
Handle received packet. More... | |
void(* | expired )(struct dhcp_session *dhcp) |
Handle timer expiry. More... | |
uint8_t | tx_msgtype |
Transmitted message type. More... | |
uint8_t | min_timeout_sec |
Timeout parameters. More... | |
uint8_t | max_timeout_sec |
int( * dhcp_session_state::tx) (struct dhcp_session *dhcp, struct dhcp_packet *dhcppkt, struct sockaddr_in *peer) |
void( * dhcp_session_state::rx) (struct dhcp_session *dhcp, struct dhcp_packet *dhcppkt, struct sockaddr_in *peer, uint8_t msgtype, struct in_addr server_id, struct in_addr pseudo_id) |
Handle received packet.
dhcp | DHCP session |
dhcppkt | DHCP packet |
peer | DHCP server address |
msgtype | DHCP message type |
server_id | DHCP server ID |
pseudo_id | DHCP server pseudo-ID |
Definition at line 178 of file dhcp.c.
Referenced by dhcp_deliver().
void( * dhcp_session_state::expired) (struct dhcp_session *dhcp) |
Handle timer expiry.
dhcp | DHCP session |
Definition at line 186 of file dhcp.c.
Referenced by dhcp_timer_expired().
uint8_t dhcp_session_state::tx_msgtype |
uint8_t dhcp_session_state::min_timeout_sec |