TPfkeyGenExtension Class Reference

class TPfkeyGenExtension

-------------------------------------------------------------------------------------------

TPfkeyGenExtension implements a class to handle PFKEY generic extension data buffer. generic extension data format is LID format begining with four bytes extension header. Extension header consists two bytes extension length and two bytes extension ID. LID format consists from one byte length, one byte ID and parameter data. Buffer format: HL,HID,LID,LID,...LID

------------------------------------------------------------------------------------------

Constructor & Destructor Documentation

TPfkeyGenExtension()

TPfkeyGenExtension ( ) [inline]

TPfkeyGenExtension(TDes8 &)

TPfkeyGenExtension ( TDes8 & aMsg ) [inline]

Parameters

TDes8 & aMsg

TPfkeyGenExtension(TDes8 &, TUint16)

TPfkeyGenExtension ( TDes8 & aMsg,
TUint16 aHdrId
) [inline]

Parameters

TDes8 & aMsg
TUint16 aHdrId

Member Functions Documentation

CheckExtensionType(TUint16)

TBool CheckExtensionType ( TUint16 aHeaderId ) [inline]

Parameters

TUint16 aHeaderId

CompareParamId(TUint8, TUint32)

TBool CompareParamId ( TUint8 aId,
TUint32 aIndex
) [private, inline]

Parameters

TUint8 aId
TUint32 aIndex

FindParameter(TUint8, TUint32 *)

TUint8 * FindParameter ( TUint8 aId,
TUint32 * aFoundLth
) [inline]

Parameters

TUint8 aId
TUint32 * aFoundLth

GetExtLength()

TUint32 GetExtLength ( ) [private, inline]

GetParamLength(TUint32, TUint32 *)

TUint32 GetParamLength ( TUint32 aIndex,
TUint32 * aFoundLth
) [private, inline]

Parameters

TUint32 aIndex
TUint32 * aFoundLth

GetParamPointer(TUint32)

TUint8 * GetParamPointer ( TUint32 aIndex ) [private, inline]

Parameters

TUint32 aIndex

GetParameterData(TUint8, TDes8 &)

TBool GetParameterData ( TUint8 aId,
TDes8 & aParamDest
) [inline]

Parameters

TUint8 aId
TDes8 & aParamDest

GetParameterStart()

TUint8 * GetParameterStart ( ) [private, inline]

StoreParameter(TUint8, TUint8, TUint8 *)

void StoreParameter ( TUint8 aId,
TUint8 aLth,
TUint8 * aData
) [inline]

Parameters

TUint8 aId
TUint8 aLth
TUint8 * aData

UpdateExtLength(TUint16)

void UpdateExtLength ( TUint16 aLth ) [private, inline]

Parameters

TUint16 aLth

Member Data Documentation

TUint8 * iExtBfr

TUint8 * iExtBfr [private]

TUint32 iExtBfrSize

TUint32 iExtBfrSize [private]

TDes8 * iExtDesc

TDes8 * iExtDesc [private]