TInet6HeaderTCP Class Reference

#include <tcp_hdr.h>

Link against: napt.lib

class TInet6HeaderTCP

Detailed Description

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 Attribute Documentation

i

TUint8 i[protected]

Member Function Documentation

ACK ( )

TInt ACK()const [inline]

Acknowledgment ( )

TTcpSeqNum Acknowledgment()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]

EndPtr ( )

TUint8 *EndPtr()[inline]

FIN ( )

TInt FIN()const [inline]

HeaderLength ( )

TInt HeaderLength()const [inline]

MaxHeaderLength ( )

TInt MaxHeaderLength()[static, inline]

MinHeaderLength ( )

TInt MinHeaderLength()[static, inline]

Options ( TTcpOptions & )

TBool Options(TTcpOptions &aOptions)const [inline]

Options ( )

TPtr8 Options()const [inline]

PSH ( )

TInt PSH()const [inline]

RST ( )

TInt RST()const [inline]

SYN ( )

TInt SYN()const [inline]

Sequence ( )

TTcpSeqNum Sequence()const [inline]

SetACK ( )

voidSetACK()[inline]

SetAcknowledgment ( TTcpSeqNum )

voidSetAcknowledgment(TTcpSeqNumaAck)[inline]

SetCWR ( )

voidSetCWR()[inline]

SetChecksum ( TUint )

voidSetChecksum(TUintaSum)[inline]

SetControl ( TUint8 )

voidSetControl(TUint8aFlags)[inline]

SetDstPort ( TUint )

voidSetDstPort(TUintaPort)[inline]

SetECE ( )

voidSetECE()[inline]

SetFIN ( )

voidSetFIN()[inline]

SetHeaderLength ( TUint )

voidSetHeaderLength(TUintaLength)[inline]

SetOptions ( TTcpOptions & )

TInt SetOptions(TTcpOptions &aOptions)[inline]

SetPSH ( )

voidSetPSH()[inline]

SetRST ( )

voidSetRST()[inline]

SetSYN ( )

voidSetSYN()[inline]

SetSequence ( TTcpSeqNum )

voidSetSequence(TTcpSeqNumaSeq)[inline]

SetSrcPort ( TUint )

voidSetSrcPort(TUintaPort)[inline]

SetURG ( )

voidSetURG()[inline]

SetUrgent ( TUint )

voidSetUrgent(TUintaOff)[inline]

SetWindow ( TUint )

voidSetWindow(TUintaWin)[inline]

SrcPort ( )

TUint SrcPort()const [inline]

URG ( )

TInt URG()const [inline]

Urgent ( )

TUint Urgent()const [inline]

Window ( )

TUint Window()const [inline]