Embedded TCP/IP stack: DHCPv4 server API

FNET

Embedded TCP/IP stack  4.1.0

Detailed Description

TBD

After the DHCPv4 server is initialized by calling the fnet_dhcp_srv_init() function, the user application should call the main service-polling function fnet_service_poll() periodically in background.

Configuration parameters:

Data Structures

struct  fnet_dhcp_srv_params
 Initialization parameters for the fnet_dhcp_srv_init() function. More...
 
struct  fnet_dhcp_srv_addr_pool_info_t
 Address pool information structure. More...
 

Typedefs

typedef void * fnet_dhcp_srv_desc_t
 DHCPv4 server descriptor. More...
 

Functions

fnet_dhcp_srv_desc_t fnet_dhcp_srv_init (struct fnet_dhcp_srv_params *params)
 Initializes the DHCPv4 server service. More...
 
void fnet_dhcp_srv_release (fnet_dhcp_srv_desc_t desc)
 Releases the DHCPv4 server service. More...
 
fnet_bool_t fnet_dhcp_srv_get_addr_pool_info (fnet_dhcp_srv_desc_t desc, fnet_index_t n, fnet_dhcp_srv_addr_pool_info_t *addr_info)
 Retrieves an address pool information. More...
 
fnet_bool_t fnet_dhcp_srv_is_enabled (fnet_dhcp_srv_desc_t desc)
 Detects if the DHCP server service is enabled or disabled. More...
 
fnet_dhcp_srv_desc_t fnet_dhcp_srv_get_by_netif (fnet_netif_desc_t netif)
 Looks for a DHCP Server assigned to the specified network interface. More...
 

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