tfDhcpUserRelease

Jump to: navigation, search

Table of Contents >> Optional Protocols >> DHCP User Configured


#include <trsocket.h>


int tfDhcpUserRelease (
ttUserInterface interfaceHandle,
int index
);


Function Description

This function is used to cancel a DHCP request and/or a DHCP lease that had been previously obtained using tfDhcpUserStart().


Parameters

  • interfaceHandle
    The device entry as returned by tfAddInterface().
  • index
    The user index of the BOOT entry. This value must be between 0 and tvMaxUserDhcpEntries - 1.


Returns

  • TM_ENOERROR
    Success.
  • TM_EINVAL
    Invalid 'interfaceHandle' or 'index' value.


Table of Contents >> Optional Protocols >> DHCP User Configured