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()

void MarkValid ( ) [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 *)

void RetrieveTCPIPHeader ( ThdrIP * aIPHeader,
ThdrTCP * aTCPHeader
)

Parameters

ThdrIP * aIPHeader
ThdrTCP * aTCPHeader

SetConnectionNumber(TUint)

void SetConnectionNumber ( TUint aConnection ) [inline]

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

Parameters

TUint aConnection VJ connection number (0..255)

SetNextPtr(TVJCompHdr *)

void SetNextPtr ( TVJCompHdr * aNextPtr ) [inline]

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

Parameters

TVJCompHdr * aNextPtr Another TVJCompHdr object

StoreTCPIPHeader(ThdrIP *)

void StoreTCPIPHeader ( 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