Embedded TCP/IP stack: fnet_dhcp_srv_get_addr_pool_info

FNET

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.

Parameters
descDHCPv4 server descriptor.
nSequence number of the address pool entry to retrieve (from 0).
addr_infoPointer to the address information structure will contain the result.
Returns
This function returns:
  • FNET_TRUE if no error occurs and data structure is filled.
  • FNET_FALSE in case of error or n-th address is not available.

This function is used to retrieve an information about addresses allocated by the DHCPv4 server.


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