WIZlib Library API  ver 1.0
WIZlib Library API User Menual
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Enumerations | Functions
dhcp.h File Reference

DHCP Protocol Module Header File. More...

This graph shows which files directly or indirectly include this file:

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...
 

Detailed Description

DHCP Protocol Module Header File.

Version
1.0
Date
2013/02/22
Revision
2013/02/22 - 1.0 Release
Author
modified by Mike Jeong

Copyright (C) 2013 WIZnet. All rights reserved.

Definition in file dhcp.h.