TInet6HeaderICMP_Echo Class Reference

class TInet6HeaderICMP_Echo : public TInet6HeaderICMP

ICMPv6 Echo Request and Echo Reply layout.

Describes the ICMP Echo Request and Replay layout. The space for Identifier and Sequence is already covered by the base class.

RFC-2463:

 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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|     Type      |     Code      |          Checksum             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|           Identifier          |        Sequence Number        |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|     Data ...
+-+-+-+-+-

Inherits from

Member Functions Documentation

HeaderLength()

TInt HeaderLength()const [inline]

Gets the header length.

Identifier()

TInt Identifier()const [inline]

Gets the Idenfifier

MaxHeaderLength()

TInt MaxHeaderLength()[static, inline]

Gets the maximum header length.

MinHeaderLength()

TInt MinHeaderLength()[static, inline]

Gets the minimum header length.

Sequence()

TInt Sequence()const [inline]

Gets the Sequence Number

SetIdentifier(TUint16)

voidSetIdentifier(TUint16aIdentifier)[inline]

Sets the Idenfifier

Parameters

TUint16 aIdentifierThe Identifier

SetSequence(TUint16)

voidSetSequence(TUint16aSequence)[inline]

Sets the Sequence Number

Parameters

TUint16 aSequenceThe number