TVJCompHdr Class Reference

class TVJCompHdr

Van Jacobson compressed TCP/IP header container class. Implements a linked list.

Constructor & Destructor Documentation

TVJCompHdr()

TVJCompHdr()

Member Functions Documentation

ConnectionNumber()

TUint ConnectionNumber()const [inline]

Returns the VJ connection number.

IsValid()

TBool IsValid()const [inline]

Determines if the stored TCP/IP header contains valid data.

MarkValid()

MarkValid()

voidMarkValid()[private, inline]

Sets a flag indicating that the stored object contains a valid TCP/IP header.

IsValid()

NextPtr()

TVJCompHdr *NextPtr()const [inline]

Returns the next object in the linked list.

RetrieveTCPIPHeader(ThdrIP *, ThdrTCP *)

voidRetrieveTCPIPHeader(ThdrIP *aIPHeader,
ThdrTCP *aTCPHeader
)

Parameters

ThdrIP * aIPHeader
ThdrTCP * aTCPHeader

SetConnectionNumber(TUint)

voidSetConnectionNumber(TUintaConnection)[inline]

Sets the VJ connection number. Also clears the valid flag as a side effect.

Parameters

TUint aConnectionVJ connection number (0..255)

SetNextPtr(TVJCompHdr *)

voidSetNextPtr(TVJCompHdr *aNextPtr)[inline]

Sets the pointer to the next object in the linked list.

Parameters

TVJCompHdr * aNextPtrAnother TVJCompHdr object

StoreTCPIPHeader(ThdrIP *)

voidStoreTCPIPHeader(ThdrIP *aHeader)

Parameters

ThdrIP * aHeader

Member Data Documentation

TUint iConnectionId

TUint iConnectionId[private]

VJ connection number

ThdrIP iIPHeader

ThdrIP iIPHeader[private]

IP header

TVJCompHdr * iNextPtr

TVJCompHdr *iNextPtr[private]

Pointer to the next object in the linked list

ThdrTCP iTCPHeader

ThdrTCP iTCPHeader[private]

TCP header