TInet6HeaderICMP_Echo Class Reference

#include <icmp6_hdr.h>

class TInet6HeaderICMP_Echo : public TInet6HeaderICMP

Inherits from

Detailed Description

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 ...
+-+-+-+-+-

Member Function Documentation

HeaderLength ( )

TInt HeaderLength()const [inline]

Reimplemented from TInet6HeaderICMP::HeaderLength()const

Gets the header length.

Returns: The length

Identifier ( )

TInt Identifier()const [inline]

Gets the Idenfifier

Returns: The Identifier

MaxHeaderLength ( )

TInt MaxHeaderLength()[static, inline]

Reimplemented from TInet6HeaderICMP::MaxHeaderLength()

Gets the maximum header length.

Returns: The length

MinHeaderLength ( )

TInt MinHeaderLength()[static, inline]

Reimplemented from TInet6HeaderICMP::MinHeaderLength()

Gets the minimum header length.

Returns: The length

Sequence ( )

TInt Sequence()const [inline]

Gets the Sequence Number

Returns: The number

SetIdentifier ( TUint16 )

voidSetIdentifier(TUint16aIdentifier)[inline]

Sets the Idenfifier

ParameterDescription
aIdentifierThe Identifier

SetSequence ( TUint16 )

voidSetSequence(TUint16aSequence)[inline]

Sets the Sequence Number

ParameterDescription
aSequenceThe number