RPppOptionList Class Reference
class RPppOptionList : public RMBufPktQ
|
Public Member Functions
|
TInt
|
CopyL
(
RMBufChain
&,
TInt
)
|
void
|
Crc32
(
TPppFcs32
&,
TBool
)
|
void
|
CreateAndAddL
(
TUint8
)
|
void
|
CreateAndAddL
(
TUint8
,
TUint8
)
|
void
|
CreateAndAddL
(
TUint8
,
TUint16
)
|
void
|
CreateAndAddL
(
TUint8
,
TUint32
)
|
void
|
CreateAndAddL
(
TUint8
, const
TUint8
*,
TInt
)
|
void
|
CreateAndAddL
(
TUint8
,
TPtrC8
&)
|
void
|
CreatePacketL
(
RMBufPacket
&,
TUint
,
TUint8
,
TUint8
,
TBool
)
|
TBool
|
EqualTo
(
RPppOptionList
&)
|
TBool
|
IsSubsetOf
(
RPppOptionList
&)
|
TInt
|
RemoveOption
(
RPppOption
&)
|
TInt
|
RemoveOptions
(
RPppOptionList
&)
|
TInt
|
ReplaceOption
(
RPppOption
&)
|
TInt
|
ReplaceOptions
(
RPppOptionList
&)
|
void
|
SetL
(
RMBufChain
&,
TInt
)
|
Member Functions Documentation
CopyL(RMBufChain &, TInt)
Build an MBuf chain by copying the underlying packet queue, leaving space on the front for a protocol header.
Crc32(TPppFcs32 &, TBool)
Calculate the FCS of an Option list Used for detecting non-convergence
CreateAndAddL(TUint8)
void
|
CreateAndAddL
|
(
|
TUint8
|
aType
|
)
|
|
CreateAndAddL(TUint8, TUint8)
CreateAndAddL(TUint8, TUint16)
CreateAndAddL(TUint8, TUint32)
CreateAndAddL(TUint8, const TUint8 *, TInt)
CreateAndAddL(TUint8, TPtrC8 &)
CreatePacketL(RMBufPacket &, TUint, TUint8, TUint8, TBool)
Parameters
RMBufPacket
& aPacket
|
Return value for the constructed packet
|
TUint
aPppId
|
Protocol (e.g. LCP, IPCP etc).
|
TUint8
aType
|
Type field of packet (e.g. Config-Request etc).
|
TUint8
aId
|
Id field of packet
|
TBool
aCreateEmptyPacket = EFalse
|
Set to ETrue if an empty packet is required.
|
EqualTo(RPppOptionList &)
Check if the current option list exactly matches that of the option list specified as argument.
The options in each list must have the same type in the same order and have the same value. If one option list has extra options at the end, then this also counts as a mismatch. Note that aList should really be a const, but this would require propagation of the constness to several related classes.
IsSubsetOf(RPppOptionList &)
Check if the current option list is a subset of the OptionsList presented (aList).
All the options in the current list must be contained and must be in the same order as the options in aList All the option arguments must also be identical
RemoveOption(RPppOption &)
RemoveOptions(RPppOptionList &)
For each option in aRejectList, delete the original in this list
ReplaceOption(RPppOption &)
ReplaceOptions(RPppOptionList &)
For each option in aReplaceList, delete the original in this list and replace it with the given one.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.