ReactOS 0.4.16-dev-297-gc569aee
Collaboration diagram for DHCP:

Macros

#define LWIP_DHCP   0
 
#define LWIP_DHCP_DOES_ACD_CHECK   LWIP_DHCP
 
#define LWIP_DHCP_BOOTP_FILE   0
 
#define LWIP_DHCP_GET_NTP_SRV   0
 
#define LWIP_DHCP_MAX_NTP_SERVERS   1
 
#define LWIP_DHCP_MAX_DNS_SERVERS   DNS_MAX_SERVERS
 
#define LWIP_DHCP_DISCOVER_ADD_HOSTNAME   0
 

Detailed Description

Macro Definition Documentation

◆ LWIP_DHCP

#define LWIP_DHCP   0

LWIP_DHCP==1: Enable DHCP module.

Definition at line 925 of file opt.h.

◆ LWIP_DHCP_BOOTP_FILE

#define LWIP_DHCP_BOOTP_FILE   0

LWIP_DHCP_BOOTP_FILE==1: Store offered_si_addr and boot_file_name.

Definition at line 944 of file opt.h.

◆ LWIP_DHCP_DISCOVER_ADD_HOSTNAME

#define LWIP_DHCP_DISCOVER_ADD_HOSTNAME   0

LWIP_DHCP_DISCOVER_ADD_HOSTNAME: Set to 1 to include hostname opt in discover packets. If the hostname is not set in the DISCOVER packet, then some servers might issue an OFFER with hostname configured and consequently reject the REQUEST with any other hostname.

Definition at line 977 of file opt.h.

◆ LWIP_DHCP_DOES_ACD_CHECK

#define LWIP_DHCP_DOES_ACD_CHECK   LWIP_DHCP

LWIP_DHCP_DOES_ACD_CHECK==1: Perform address conflict detection on the dhcp address.

Definition at line 937 of file opt.h.

◆ LWIP_DHCP_GET_NTP_SRV

#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 953 of file opt.h.

◆ LWIP_DHCP_MAX_DNS_SERVERS

#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 969 of file opt.h.

◆ LWIP_DHCP_MAX_NTP_SERVERS

#define LWIP_DHCP_MAX_NTP_SERVERS   1

The maximum of NTP servers requested

Definition at line 960 of file opt.h.