tfUnConfigInterface
Table of Contents >> Programmer's Reference
| The content on this page has been deprecated. | |
| For the new content, please see tfNgUnConfigInterface(). |
| #include <trsocket.h> |
| int tfUnConfigInterface | ( |
| ttUserInterface interfaceHandle, | |
| tt8Bit mHomeIndex | |
| ); |
Function Description
This function is used to remove an IP address from an interface for a particular multihome index. By un-configuring an interface, we can then re-configure it with a new IP address and netmask.
Parameters
- interfaceHandle
- The interface handle of the device we wish to use.
- mHomeIndex
- The multihome for the IP address we wish to remove.
Returns
- TM_ENOERROR
- Success.
- TM_EINVAL
- One of the parameters is invalid.
- TM_ENOENT
- The interface was not configured.