vpnengine/ikev1lib/inc/ikev1extra.h
branchRCL_3
changeset 10 68dc8923de26
parent 0 33413c0669b9
equal deleted inserted replaced
8:032d3a818f49 10:68dc8923de26
     1 /*
     1 /*
     2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
   163 public:
   163 public:
   164     TInt   iPropNum;            //Local proposal number selected
   164     TInt   iPropNum;            //Local proposal number selected
   165     TInt   iTransNum;           //Remote transform number selected
   165     TInt   iTransNum;           //Remote transform number selected
   166     TPtrC8 iReducedLifeSecs;    //Own lifetime (in case is smaller then received)
   166     TPtrC8 iReducedLifeSecs;    //Own lifetime (in case is smaller then received)
   167     TPtrC8 iReducedLifeKBytes;  //Own lifesize (in case is smaller then received)
   167     TPtrC8 iReducedLifeKBytes;  //Own lifesize (in case is smaller then received)
       
   168     TPtrC8 iResponderLifetimeSecs;    //Responder lifetime
       
   169     TPtrC8 iResponderLifetimeKBytes;  //Responder lifetime size    
   168     TUint8 iReplayWindowLength;
   170     TUint8 iReplayWindowLength;
   169 };
   171 };
   170 
   172 
   171 NONSHARABLE_CLASS(CTransModifierList) : public CArrayPtrFlat<TTransModifier>
   173 NONSHARABLE_CLASS(CTransModifierList) : public CArrayPtrFlat<TTransModifier>
   172 {
   174 {
   186     void Copy(TAttrib_II &aAttr);
   188     void Copy(TAttrib_II &aAttr);
   187 public:
   189 public:
   188     TUint8 iTransformNum;   //Transform number
   190     TUint8 iTransformNum;   //Transform number
   189     TUint8 iTransformID;    //Transform ID
   191     TUint8 iTransformID;    //Transform ID
   190     TBuf8<MAX_LIFE_DURATION> iLifeDurationSecs;
   192     TBuf8<MAX_LIFE_DURATION> iLifeDurationSecs;
   191     //TBool iLifetimeReduced;
       
   192     TBuf8<MAX_LIFE_DURATION> iLifeDurationKBytes;
   193     TBuf8<MAX_LIFE_DURATION> iLifeDurationKBytes;
   193     //TBool iLifesizeReduced;
   194     TBuf8<MAX_LIFE_DURATION> iResponderLifetimeSecs;
       
   195     TBuf8<MAX_LIFE_DURATION> iResponderLifetimeKBytes;        
   194     TUint16 iGroupDesc;     //OAKLEY GROUP
   196     TUint16 iGroupDesc;     //OAKLEY GROUP
   195     TUint16 iEncMode;       //Encapsulation Mode
   197     TUint16 iEncMode;       //Encapsulation Mode
   196     TUint16 iAuthAlg;       //HMAC
   198     TUint16 iAuthAlg;       //HMAC
   197     TUint16 iKeyLength;
   199     TUint16 iKeyLength;
   198     TUint16 iKeyRounds;
   200     TUint16 iKeyRounds;