Mistake on this page?
Report an issue in GitHub or email us
Macros

Macros

#define LWIP_DHCP   0
 LWIP_DHCP==1: Enable DHCP module. More...
 
#define DHCP_DOES_ARP_CHECK   (LWIP_DHCP && LWIP_ARP)
 DHCP_DOES_ARP_CHECK==1: Do an ARP check on the offered address. More...
 
#define LWIP_DHCP_BOOTP_FILE   0
 LWIP_DHCP_BOOTP_FILE==1: Store offered_si_addr and boot_file_name. More...
 
#define LWIP_DHCP_GET_NTP_SRV   0
 LWIP_DHCP_GETS_NTP==1: Request NTP servers with discover/select. More...
 
#define LWIP_DHCP_MAX_NTP_SERVERS   1
 The maximum of NTP servers requested. More...
 
#define LWIP_DHCP_MAX_DNS_SERVERS   DNS_MAX_SERVERS
 LWIP_DHCP_MAX_DNS_SERVERS > 0: Request DNS servers with discover/select. More...
 

Detailed Description

Macro Definition Documentation

#define DHCP_DOES_ARP_CHECK   (LWIP_DHCP && LWIP_ARP)

DHCP_DOES_ARP_CHECK==1: Do an ARP check on the offered address.

Definition at line 930 of file opt.h.

#define LWIP_DHCP   0

LWIP_DHCP==1: Enable DHCP module.

Definition at line 918 of file opt.h.

#define LWIP_DHCP_BOOTP_FILE   0

LWIP_DHCP_BOOTP_FILE==1: Store offered_si_addr and boot_file_name.

Definition at line 937 of file opt.h.

#define LWIP_DHCP_GET_NTP_SRV   0

LWIP_DHCP_GETS_NTP==1: Request NTP servers with discover/select.

For each response packet, an callback is called, which has to be provided by the port: void dhcp_set_ntp_servers(u8_t num_ntp_servers, ip_addr_t* ntp_server_addrs);

Definition at line 946 of file opt.h.

#define LWIP_DHCP_MAX_DNS_SERVERS   DNS_MAX_SERVERS

LWIP_DHCP_MAX_DNS_SERVERS > 0: Request DNS servers with discover/select.

DNS servers received in the response are passed to DNS via dns_setserver() (up to the maximum limit defined here).

Definition at line 962 of file opt.h.

#define LWIP_DHCP_MAX_NTP_SERVERS   1

The maximum of NTP servers requested.

Definition at line 953 of file opt.h.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.