tfNatUnConfig
Table of Contents >> Optional Protocols >> NAT
#include <trsocket.h> |
int tfNatUnConfig | (ttUserInterface interfaceHandle); |
Function Description
This function is used to dismantle a stack device that is functioning as a public NAT interface. The user should call this function exactly once per public NAT interface, that is, for each interface for which tfNatConfig() returned TM_ENOERROR. The user must call this function after all other NAT function calls have been made for this interface.
Parameters
- interfaceHandle
- The interface handle of the NAT device to unconfigure.
Returns
- TM_ENOERROR
- Success.
- TM_EINVAL
- The 'interfaceHandle' is invalid or is not configured as a public NAT interface.