tfPolicyDeleteByPriority
Table of Contents >> IPsec/IKE Programmer's Reference >> IPsec/IKE Function Reference
| #include <trsocket.h> |
| int tfPolicyDeleteByPriority | ( |
| ttUser16Bit priority, | |
| ttUser8Bit direction | |
| ); |
Function Description
This function takes a priority and looks up the ttPolicyEntryPtr associated with it. If found, tfPolicyDelete() is called to removed the policy.
Parameters
- priority
- The priority to which the policy in question has been assigned.
- direction
- Determines which direction should be removed.
Returns
- TM_ENOERROR
- Success
- TM_EINVAL
- Could not acquire the policy from the priority, or perhaps the policy
- Other
- see tfPolicyDelete() for more information
Table of Contents >> IPsec/IKE Programmer's Reference >> IPsec/IKE Function Reference