Embedded TCP/IP stack  4.7.0
fnet_dhcp_srv_params_t Struct Reference

Initialization parameters for the fnet_dhcp_srv_init() function. More...

Data Fields

fnet_netif_desc_t netif
 Network interface descriptor to be used by the DHCP server. More...
 
fnet_ip4_addr_t ip_addr_pool_start
 The first allocated IPv4 address in the DHCPv4 server pool.
The address pool size is defined by ip_addr_pool_size. If it is set to INADDR_ANY, the netif IPv4 address plus one is used. More...
 
fnet_size_t ip_addr_pool_size
 Size of the address pool. It may not be set a value more than FNET_CFG_DHCP_SRV_ADDR_POOL_SIZE. If it is set to 0, the FNET_CFG_DHCP_SRV_ADDR_POOL_SIZE value is used. More...
 
fnet_uint32_t lease_time
 Default lease time in seconds.
If it is set to 0, the FNET_CFG_DHCP_SRV_LEASE_TIME value is used. More...
 
fnet_ip4_addr_t subnet_mask
 Subnet mask.
If it is set to INADDR_ANY, a subnet mask of the netif interface is used. More...
 
fnet_ip4_addr_t gateway
 Gateway IPv4 address.
If it is set to INADDR_ANY, a gateway address of the netif interface is used. More...
 

Detailed Description

Initialization parameters for the fnet_dhcp_srv_init() function.

Definition at line 51 of file fnet_dhcp_srv.h.


The documentation for this struct was generated from the following file:

© 2005-2020 by Andrej Butok. http://fnet.sourceforge.net