Embedded TCP/IP stack: DHCPv4 Server Configuration Parameters

FNET

Embedded TCP/IP stack  4.1.0

Detailed Description

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

Macros

#define FNET_CFG_DHCP_SRV
 DHCPv4 Server service support: More...
 
#define FNET_CFG_DHCP_SRV_PORT   (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_SRV_ADDR_POOL_SIZE   (5)
 Size of the IPv4 address pool.
It defines maximum number of IPv4 addresses that may be allocated by the DHCPv4 Server.

. More...

 
#define FNET_CFG_DHCP_SRV_LEASE_TIME   (60*5)
 Default lease time in seconds. It may be changed during DHCP Server initialization.

. More...

 

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