tfIkePolicyDeleteByPriority
Table of Contents >> IPsec/IKE Programmer's Reference >> IPsec/IKE Function Reference
| #include <trsocket.h> |
| int tfIkePolicyDeleteByPriority | (ttUser16Bit priority); |
Function Description
This function deletes a single IKE Policy by Priority reference. The caller must specify the priority of the IKE Policy that will be removed. Once the kernel locates the IKE Policy, IKE is locked until the Policy is completely removed and all kernel references updated.
Parameters
- priority
- This is the 0-based priority of the IKE Policy.
Returns
- TM_ENOERROR
- This indicates success. The caller must free the memory allocated for the structure passed to this function as a copy is made and managed by the kernel.
- TM_EINVAL
- This indicates failure. The kernel found an IPsec Policy at the given priority.
- TM_ENOENT
- This indicates failure. The kernel did not find an IPsec or IKE Policy at the given priority.
- TM_EIKENOTSARTED
- This indicates failure. The kernel has not yet started IKE.
- TM_EIPSECNOTINITIALIZED
- This indicates failure. The kernel has not yet started IPsec.
Table of Contents >> IPsec/IKE Programmer's Reference >> IPsec/IKE Function Reference