#include <dhcp.h>
Data Fields | |
struct dhcp_msg * | msg_in |
incoming msg More... | |
struct dhcp_msg * | msg_out |
ip_addr_t | offered_gw_addr |
ip_addr_t | offered_ip_addr |
ip_addr_t | offered_sn_mask |
u32_t | offered_t0_lease |
u32_t | offered_t1_renew |
u32_t | offered_t2_rebind |
u16_t | options_out_len |
struct pbuf * | p_out |
struct udp_pcb * | pcb |
our connection to the DHCP server More... | |
u16_t | request_timeout |
ip_addr_t | server_ip_addr |
u8_t | state |
current DHCP state machine state More... | |
u8_t | subnet_mask_given |
u16_t | t1_timeout |
u16_t | t2_timeout |
u8_t | tries |
retries of current request More... | |
u32_t | xid |
transaction identifier of last sent request More... | |
struct dhcp_msg* dhcp::msg_in |
incoming msg
Referenced by dhcp_handle_ack(), dhcp_handle_offer(), dhcp_parse_reply(), and dhcp_recv().
struct dhcp_msg* dhcp::msg_out |
Referenced by dhcp_create_msg(), dhcp_delete_msg(), dhcp_option(), dhcp_option_byte(), dhcp_option_long(), dhcp_option_short(), and dhcp_option_trailer().
ip_addr_t dhcp::offered_gw_addr |
Referenced by dhcp_handle_ack(), and dhcp_release().
ip_addr_t dhcp::offered_ip_addr |
ip_addr_t dhcp::offered_sn_mask |
Referenced by dhcp_handle_ack(), and dhcp_release().
u32_t dhcp::offered_t0_lease |
Referenced by dhcp_handle_ack(), and dhcp_release().
u32_t dhcp::offered_t1_renew |
Referenced by dhcp_handle_ack(), and dhcp_release().
u32_t dhcp::offered_t2_rebind |
Referenced by dhcp_handle_ack(), and dhcp_release().
u16_t dhcp::options_out_len |
struct pbuf* dhcp::p_out |
Referenced by dhcp_create_msg(), dhcp_decline(), dhcp_delete_msg(), dhcp_discover(), dhcp_inform(), dhcp_rebind(), dhcp_reboot(), dhcp_release(), dhcp_renew(), and dhcp_select().
struct udp_pcb* dhcp::pcb |
our connection to the DHCP server
Referenced by dhcp_decline(), dhcp_discover(), dhcp_inform(), dhcp_rebind(), dhcp_reboot(), dhcp_release(), dhcp_renew(), dhcp_select(), and udp_input().
u16_t dhcp::request_timeout |
Referenced by dhcp_check(), dhcp_decline(), dhcp_discover(), dhcp_fine_tmr(), dhcp_rebind(), dhcp_reboot(), dhcp_recv(), dhcp_release(), dhcp_renew(), dhcp_select(), and dhcp_set_state().
ip_addr_t dhcp::server_ip_addr |
Referenced by dhcp_handle_offer(), dhcp_rebind(), dhcp_release(), dhcp_renew(), and dhcp_select().
u8_t dhcp::state |
current DHCP state machine state
Referenced by dhcp_arp_reply(), dhcp_create_msg(), dhcp_network_changed(), dhcp_recv(), dhcp_set_state(), dhcp_t1_timeout(), dhcp_t2_timeout(), and dhcp_timeout().
u8_t dhcp::subnet_mask_given |
Referenced by dhcp_handle_ack().
u16_t dhcp::t1_timeout |
Referenced by dhcp_coarse_tmr().
u16_t dhcp::t2_timeout |
Referenced by dhcp_coarse_tmr().
u8_t dhcp::tries |
retries of current request
Referenced by dhcp_check(), dhcp_create_msg(), dhcp_decline(), dhcp_discover(), dhcp_network_changed(), dhcp_rebind(), dhcp_reboot(), dhcp_release(), dhcp_renew(), dhcp_select(), dhcp_set_state(), and dhcp_timeout().
u32_t dhcp::xid |
transaction identifier of last sent request
Referenced by dhcp_create_msg(), and dhcp_recv().