TCPIP_DHCPS_LeaseEntryRemove Function

C

bool TCPIP_DHCPS_LeaseEntryRemove(
    TCPIP_NET_HANDLE netH, 
    TCPIP_MAC_ADDR* hwAdd
);

Description

This function is used to remove one entry from the leased HASH table with respect to the interface and the MAC address.

Preconditions

The DHCP server module should have been initialized.

Parameters

ParametersDescription
netHInterface handle to use.
hwAddMAC address that needs to be removed from the HASH table.

Returns

  • True - If successful. _ False If unsuccessful.

Remarks

This function is called from the command line to remove one entry and from the Wi-FI Driver module to remove a node that is disconnected from the AP.