Embedded TCP/IP stack  3.9.4

Detailed Description

This section describes the parameters specific to the DHCP 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
 DHCP Client service support: More...
 
#define FNET_CFG_DHCP_MAX   (1u)
 Maximum number of the DHCP Servers that can be run simultaneously.
Default value is 1.
. More...
 
#define FNET_CFG_DHCP_BOOTP   (0)
 DHCP/BOOTP-service used protocol: More...
 
#define FNET_CFG_DHCP_PORT_CLIENT   (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_PORT_SERVER   (FNET_HTONS(67U))
 DHCP server port number (in network byte order).
DHCP messages from a client to a server are sent to this port.
Default value is 67.

. More...

 
#define FNET_CFG_DHCP_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_OVERLOAD   (0)
 DHCP "Option overload" support [RFC 2132 9.3]: More...
 
#define FNET_CFG_DHCP_BROADCAST
 DHCP "Broadcast Address Option" support [RFC 2132 5.3]: More...
 

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