TTcpOptions Class Reference
Constructor & Destructor Documentation
Member Functions Documentation
AlignedLength(TInt)
TInt
|
AlignedLength
|
(
|
TInt
|
aLength
|
)
|
const [private, inline]
|
Calculate the actual space requirement for option with given length.
Takes optional 32-bit alignment into account.
CheckOptAlignment(TUint8 *, TUint &, TUint)
Align options with NOP if option alignment is enabled.
Parameters
TUint8
* aPtr
|
option data area.
|
TUint
& aI
|
index to the location being processed.
|
TUint
aNumBytes
|
Number of bytes that need to be used for padding.
|
ClearError()
void
|
ClearError
|
(
|
)
|
[inline]
|
ClearMSS()
void
|
ClearMSS
|
(
|
)
|
[inline]
|
ClearSackOk()
void
|
ClearSackOk
|
(
|
)
|
[inline]
|
ClearTimeStamps()
void
|
ClearTimeStamps
|
(
|
)
|
[inline]
|
ClearUnknown()
void
|
ClearUnknown
|
(
|
)
|
[inline]
|
Error()
TBool
|
Error
|
(
|
)
|
const [inline]
|
Length()
IMPORT_C
TInt
|
Length
|
(
|
)
|
const
|
MSS()
TInt
|
MSS
|
(
|
)
|
const [inline]
|
OutputOptions(TUint8 *, TUint)
ProcessOptions(const TUint8 *, TUint)
SackOk()
TBool
|
SackOk
|
(
|
)
|
const [inline]
|
SetAlignOpt(TBool)
void
|
SetAlignOpt
|
(
|
TBool
|
aAlignOpt
|
)
|
[inline]
|
If set, each option will be aligned to 32-bit longword boundaries with Nop padding. By default the Nop padding is not applied.
SetMSS(TInt)
void
|
SetMSS
|
(
|
TInt
|
aMSS
|
)
|
[inline]
|
SetSackOk()
void
|
SetSackOk
|
(
|
)
|
[inline]
|
SetTimeStamps(TUint32, TUint32)
SetWindowScale(TUint8)
void
|
SetWindowScale
|
(
|
TUint8
|
aWscale
|
)
|
[inline]
|
SuppressSack(TBool)
void
|
SuppressSack
|
(
|
TBool
|
aBool = ETrue
|
)
|
[inline]
|
TimeStamps()
TBool
|
TimeStamps
|
(
|
)
|
const [inline]
|
TimeStamps(TUint32 &, TUint32 &)
Unknown()
TInt
|
Unknown
|
(
|
)
|
const [inline]
|
WindowScale()
TUint
|
WindowScale
|
(
|
)
|
const [inline]
|
Member Data Documentation
SequenceBlockQueue
iBlocks
TBool
iSuppressSack
TBool
|
iSuppressSack
|
[private]
|
TBool
iTimeStamps
TBool
|
iTimeStamps
|
[private]
|
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.