Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: P_HTTPServerExample P_USBWeb
Fork of EthernetNetIf by
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 LPC2368/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
Generated on Tue Jul 12 2022 21:51:55 by
 1.7.2
 1.7.2 
    