Embedded TCP/IP stack: DHCPv4 Client Configuration Parameters

FNET

Embedded TCP/IP stack  4.1.0

Detailed Description

This section describes the parameters specific to the DHCPv4 client.
The user may override and change the default values in the application-specific configuration file fnet_user_config.h.

Macros

#define FNET_CFG_DHCP_CLN
 DHCP Client service support: More...
 
#define FNET_CFG_DHCP_CLN_BOOTP   (0)
 DHCP/BOOTP-service used protocol: More...
 
#define FNET_CFG_DHCP_CLN_PORT   (FNET_HTONS(68U))
 DHCP client port number (in network byte order).
The client listen DHCP messages from a server on this port.
Default value is 68.

. More...

 
#define FNET_CFG_DHCP_CLN_RESPONSE_TIMEOUT   (4U)
 Timeout for the response from the remote DHCP server (in seconds).

The recommended value is from 1 till 10 seconds.
If the DHCP client does not receive any response from a DHCP server during this time, it sends new discover message.
Default value is 4.

. More...

 
#define FNET_CFG_DHCP_CLN_BROADCAST   (0)
 DHCP "Broadcast Address Option" support [RFC 2132 5.3]: More...
 

© 2005-2018 by Andrey Butok. http://fnet.sourceforge.net