Struct:ttIkePolicyPair

Jump to: navigation, search
#include trsecapi.h
 
typedef struct tsIkePolicyPair
{
#ifdef TM_USE_PRIORITIES
    ttUser16Bit               ikppPriority;
#endif /* TM_USE_PRIORITIES */
 
    ttUser16Bit               ikppPlcyIndex;
    ttUser8Bit                ikppTransIndex[TM_IKE_MAX_TRANSFORMS];
    ttUser8Bit                ikppTransCount;
} ttIkePolicyPair;
typedef struct tsIkePolicyPair TM_FAR * ttIkePolicyPairPtr;


Structure Description

This structure is used to associate IKE Policy definitions (ttIkePolicyInStringPtr) with IKE Phase 1 Transform definitions (ttIsakmpTransDataPtr) when calling tfIkePolicyRestore(). This provides the mechanism for defining multiple Phase 1 transforms with a single IKE Policy.


Members

  • ikppPriority
    This contains the 0-based Priority of the IKE Policy database entry. This is only present when using priority-based processing.
  • ikppPlcyIndex
    This contains the 0-based index of the IKE Policy database entry. When using priority-based processing, this value is not used to determine the order in which policies are searched.
  • ikppTransIndex
    This contains the array of 0-based Phase 1 Transforms indices.
  • ikppTransCount
    This contains the count of Phase 1 Transforms in ikppTransIndex. This value must be <= TM_IKE_MAX_TRANSFORMS as defined in <trsecapi.h>.