tfIpsecUninitialize
Table of Contents >> IPsec/IKE Programmer's Reference >> IPsec/IKE Function Reference
| #include <trsocket.h> |
| int tfIpsecUninitialize | (void); |
Function Description
This function uninitializes IPsec and IKE. It clears all the policy entries as well as all IPsec SAs, closes the IKE socket(s), and frees the raw buffer allocated for tvIpsecPtr and tvIkePtr. After this call, the stack will run as if tfUseIpsec() has not been called.
Returns
- TM_ENOERROR
- Success.
- Other
- Uninitialize failed
Table of Contents >> IPsec/IKE Programmer's Reference >> IPsec/IKE Function Reference