TInet6HeaderTCP Class Reference
TCP segment header.
Extract from RFC-793
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Source Port | Destination Port |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Sequence Number |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Acknowledgment Number |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Data | |U|A|P|R|S|F| |
| Offset| Reserved |R|C|S|S|Y|I| Window |
| | |G|K|H|T|N|N| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Checksum | Urgent Pointer |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Options | Padding |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| data |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Member Functions Documentation
ACK()
TInt
|
ACK
|
(
|
)
|
const [inline]
|
CWR()
TInt
|
CWR
|
(
|
)
|
const [inline]
|
Checksum()
TUint
|
Checksum
|
(
|
)
|
const [inline]
|
Control()
TUint8
|
Control
|
(
|
)
|
const [inline]
|
DstPort()
TUint
|
DstPort
|
(
|
)
|
const [inline]
|
ECE()
TInt
|
ECE
|
(
|
)
|
const [inline]
|
FIN()
TInt
|
FIN
|
(
|
)
|
const [inline]
|
HeaderLength()
TInt
|
HeaderLength
|
(
|
)
|
const [inline]
|
MaxHeaderLength()
TInt
|
MaxHeaderLength
|
(
|
)
|
[static, inline]
|
MinHeaderLength()
TInt
|
MinHeaderLength
|
(
|
)
|
[static, inline]
|
Options()
TPtr8
|
Options
|
(
|
)
|
const [inline]
|
PSH()
TInt
|
PSH
|
(
|
)
|
const [inline]
|
RST()
TInt
|
RST
|
(
|
)
|
const [inline]
|
SYN()
TInt
|
SYN
|
(
|
)
|
const [inline]
|
SetAcknowledgment(TTcpSeqNum)
void
|
SetAcknowledgment
|
(
|
TTcpSeqNum
|
aAck
|
)
|
[inline]
|
SetChecksum(TUint)
void
|
SetChecksum
|
(
|
TUint
|
aSum
|
)
|
[inline]
|
SetControl(TUint8)
void
|
SetControl
|
(
|
TUint8
|
aFlags
|
)
|
[inline]
|
SetDstPort(TUint)
void
|
SetDstPort
|
(
|
TUint
|
aPort
|
)
|
[inline]
|
SetHeaderLength(TUint)
void
|
SetHeaderLength
|
(
|
TUint
|
aLength
|
)
|
[inline]
|
SetOptions(TTcpOptions &)
SetSrcPort(TUint)
void
|
SetSrcPort
|
(
|
TUint
|
aPort
|
)
|
[inline]
|
SetUrgent(TUint)
void
|
SetUrgent
|
(
|
TUint
|
aOff
|
)
|
[inline]
|
SetWindow(TUint)
void
|
SetWindow
|
(
|
TUint
|
aWin
|
)
|
[inline]
|
SrcPort()
TUint
|
SrcPort
|
(
|
)
|
const [inline]
|
URG()
TInt
|
URG
|
(
|
)
|
const [inline]
|
Urgent()
TUint
|
Urgent
|
(
|
)
|
const [inline]
|
Window()
TUint
|
Window
|
(
|
)
|
const [inline]
|
Member Data Documentation
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.