TInet6Checksum Class Reference

class TInet6Checksum : public TInet6Packet

TInet6Checksum Template.

This template class provides utilitlies to compute and check IPv6 Upper Layer Checksums These are not merged with the TInet6Packet class, because that class is intended (and is used) for all headers, not just upper layers.

The template parameter (Header class) must
  • have Checksum() method

  • have SetChecksum() method

  • the checkum in header must be aligned to 16 bit word

Inherits from

Constructor & Destructor Documentation

TInet6Checksum()

TInet6Checksum ( ) [inline]

TInet6Checksum(RMBufChain &)

TInet6Checksum ( RMBufChain & aPacket ) [inline]

Parameters

RMBufChain & aPacket

TInet6Checksum(RMBufChain &, TInt)

TInet6Checksum ( RMBufChain & aPacket,
TInt aOffset
) [inline]

Parameters

RMBufChain & aPacket
TInt aOffset

Member Functions Documentation

ComputeChecksum(RMBufChain &, const RMBufPktInfo *, TInt)

void ComputeChecksum ( RMBufChain & aPacket,
const RMBufPktInfo * aInfo,
TInt aOffset = 0
)

Parameters

RMBufChain & aPacket
const RMBufPktInfo * aInfo
TInt aOffset = 0

ComputeChecksum()

void ComputeChecksum ( )

VerifyChecksum(RMBufChain &, const RMBufPktInfo *, TInt)

TBool VerifyChecksum ( RMBufChain & aPacket,
const RMBufPktInfo * aInfo,
TInt aOffset = 0
)

Parameters

RMBufChain & aPacket
const RMBufPktInfo * aInfo
TInt aOffset = 0

VerifyChecksum()

TBool VerifyChecksum ( )