WIZlib Library API
ver 1.0
WIZlib Library API User Menual
|
DHCP Protocol Module Header File. More...
Go to the source code of this file.
Enumerations | |
enum | dhcp_state { DHCP_STATE_INIT, DHCP_STATE_SEARCHING, DHCP_STATE_SELECTING, DHCP_STATE_REQUESTING, DHCP_STATE_IP_CHECK, DHCP_STATE_BOUND, DHCP_STATE_FAILED } |
DHCP State. More... | |
enum | dhcp_action { DHCP_ACT_NONE, DHCP_ACT_START, DHCP_ACT_RENEW, DHCP_ACT_REBIND } |
DHCP Action. More... | |
Functions | |
int8 | dhcp_init (uint8 sock, void_func ip_update_hook, void_func ip_conflict_hook, wiz_NetInfo *def) |
Initialize DHCP module. More... | |
int8 | dhcp_manual (dhcp_action action, uint32 *renew, uint32 *rebind) |
DHCP manual mode handler. More... | |
dhcp_state | dhcp_get_state (void) |
Return current DHCP state. More... | |
void | dhcp_set_storage (wiz_NetInfo *net) |
Update DHCP default address storage. More... | |
void | dhcp_get_storage (wiz_NetInfo *net) |
Return DHCP default address storage. More... | |
void | dhcp_static_mode (wiz_NetInfo *net) |
Change DHCP mode to Static. More... | |
void | dhcp_auto_start (void) |
DHCP Auto mode (alarm mode) start function. More... | |
DHCP Protocol Module Header File.
Definition in file dhcp.h.