TInet6Checksum Class Reference

#include <in_chk.h>

Link against: ipeventnotifier.lib

class TInet6Checksum : public TInet6Packet

Inherits from

Detailed Description

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

Constructor & Destructor Documentation

TInet6Checksum ( )

TInet6Checksum()[inline]

TInet6Checksum ( RMBufChain & )

TInet6Checksum(RMBufChain &aPacket)[inline]

TInet6Checksum ( RMBufChain &, TInt )

TInet6Checksum(RMBufChain &aPacket,
TIntaOffset
)[inline]

Member Function Documentation

ComputeChecksum ( RMBufChain &, const RMBufPktInfo *, TInt )

voidComputeChecksum(RMBufChain &aPacket,
const RMBufPktInfo *aInfo,
TIntaOffset = 0
)

ComputeChecksum ( )

voidComputeChecksum()

VerifyChecksum ( RMBufChain &, const RMBufPktInfo *, TInt )

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

VerifyChecksum ( )

TBool VerifyChecksum()