#include <icmp6_hdr.h>
class TInet6HeaderICMP_Echo : public TInet6HeaderICMP |
Public Member Functions | |
---|---|
TInt | HeaderLength() |
TInt | Identifier() |
TInt | MaxHeaderLength() |
TInt | MinHeaderLength() |
TInt | Sequence() |
void | SetIdentifier(TUint16) |
void | SetSequence(TUint16) |
Inherited Attributes | |
---|---|
TInet6HeaderICMP::@51 | |
TInet6HeaderICMP::i | |
TInet6HeaderICMP::iAlign |
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 ... +-+-+-+-+-
TInt | HeaderLength | ( | ) | const [inline] |
Reimplemented from TInet6HeaderICMP::HeaderLength()const
Gets the header length.
Returns: The length
TInt | MaxHeaderLength | ( | ) | [static, inline] |
Reimplemented from TInet6HeaderICMP::MaxHeaderLength()
Gets the maximum header length.
Returns: The length
TInt | MinHeaderLength | ( | ) | [static, inline] |
Reimplemented from TInet6HeaderICMP::MinHeaderLength()
Gets the minimum header length.
Returns: The length
void | SetIdentifier | ( | TUint16 | aIdentifier | ) | [inline] |
Sets the Idenfifier
Parameter | Description |
---|---|
aIdentifier | The Identifier |
void | SetSequence | ( | TUint16 | aSequence | ) | [inline] |
Sets the Sequence Number
Parameter | Description |
---|---|
aSequence | The number |