Data Fields | |
| const char * | name |
| State name. | |
| int(* | tx )(struct dhcp_session *dhcp, struct dhcp_packet *dhcppkt, struct sockaddr_in *peer) |
| Construct transmitted packet. | |
| void(* | rx )(struct dhcp_session *dhcp, struct dhcp_packet *dhcppkt, struct sockaddr_in *peer, uint8_t msgtype, struct in_addr server_id) |
| Handle received packet. | |
| void(* | expired )(struct dhcp_session *dhcp) |
| Handle timer expiry. | |
| uint8_t | tx_msgtype |
| Transmitted message type. | |
| uint8_t | apply_min_timeout |
| Apply minimum timeout. | |
Definition at line 168 of file dhcp.c.
| const char* dhcp_session_state::name |
| int( * dhcp_session_state::tx)(struct dhcp_session *dhcp, struct dhcp_packet *dhcppkt, struct sockaddr_in *peer) |
Construct transmitted packet.
| dhcp | DHCP session | |
| dhcppkt | DHCP packet | |
| peer | Destination address |
Referenced by dhcp_tx().
| 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) |
Handle received packet.
| dhcp | DHCP session | |
| dhcppkt | DHCP packet | |
| peer | DHCP server address | |
| msgtype | DHCP message type | |
| server_id | DHCP server ID |
Referenced by dhcp_deliver_iob().
| void( * dhcp_session_state::expired)(struct dhcp_session *dhcp) |
1.5.7.1