lwIP  2.1.2
Lightweight IP stack
dhcp.h File Reference
#include "lwip/opt.h"
#include "lwip/netif.h"
#include "lwip/udp.h"

Macros

#define DHCP_COARSE_TIMER_SECS   60
 
#define DHCP_COARSE_TIMER_MSECS   (DHCP_COARSE_TIMER_SECS * 1000UL)
 
#define DHCP_FINE_TIMER_MSECS   500
 
#define dhcp_remove_struct(netif)   netif_set_client_data(netif, LWIP_NETIF_CLIENT_DATA_INDEX_DHCP, NULL)
 

Detailed Description

DHCP client API

Macro Definition Documentation

◆ DHCP_COARSE_TIMER_MSECS

#define DHCP_COARSE_TIMER_MSECS   (DHCP_COARSE_TIMER_SECS * 1000UL)

period (in milliseconds) of the application calling dhcp_coarse_tmr()

◆ DHCP_COARSE_TIMER_SECS

#define DHCP_COARSE_TIMER_SECS   60

period (in seconds) of the application calling dhcp_coarse_tmr()

◆ DHCP_FINE_TIMER_MSECS

#define DHCP_FINE_TIMER_MSECS   500

period (in milliseconds) of the application calling dhcp_fine_tmr()

◆ dhcp_remove_struct

#define dhcp_remove_struct (   netif)    netif_set_client_data(netif, LWIP_NETIF_CLIENT_DATA_INDEX_DHCP, NULL)

Remove a struct dhcp previously set to the netif using dhcp_set_struct()