Dependents:   SNMPAgent HTTPServer think_speak_a cyassl-client ... more

Embed: (wiki syntax)

« Back to documentation index

dhcp.h File Reference

dhcp.h File Reference

Go to the source code of this file.

Data Structures

struct  dhcp_msg
 minimum set of fields of any DHCP message More...

Functions

err_t dhcp_start (struct netif *netif)
 start DHCP configuration
err_t dhcp_renew (struct netif *netif)
 enforce early lease renewal (not needed normally)
err_t dhcp_release (struct netif *netif)
 release the DHCP lease, usually called before dhcp_stop()
void dhcp_stop (struct netif *netif)
 stop DHCP configuration
void dhcp_inform (struct netif *netif)
 inform server of our manual IP address
void dhcp_network_changed (struct netif *netif)
 Handle a possible change in the network configuration.
void dhcp_arp_reply (struct netif *netif, ip_addr_t *addr)
 if enabled, check whether the offered IP address is not in use, using ARP
void dhcp_coarse_tmr (void)
 to be called every minute
void dhcp_fine_tmr (void)
 to be called every half second

Detailed Description

Definition in file LPC1768/lwip/include/lwip/dhcp.h.


Function Documentation

void dhcp_arp_reply ( struct netif *  netif,
ip_addr_t *  addr 
)

if enabled, check whether the offered IP address is not in use, using ARP

void dhcp_coarse_tmr ( void   )

to be called every minute

void dhcp_fine_tmr ( void   )

to be called every half second

void dhcp_inform ( struct netif *  netif )

inform server of our manual IP address

void dhcp_network_changed ( struct netif *  netif )

Handle a possible change in the network configuration.

err_t dhcp_release ( struct netif *  netif )

release the DHCP lease, usually called before dhcp_stop()

err_t dhcp_renew ( struct netif *  netif )

enforce early lease renewal (not needed normally)

err_t dhcp_start ( struct netif *  netif )

start DHCP configuration

void dhcp_stop ( struct netif *  netif )

stop DHCP configuration