Icmpv6EchoRequestMsg¶
Namespace: inet
class Icmpv6EchoRequestMsg
ICMPv6 Echo Request packet (RFC2463: Section 4). Data is attached through encapsulation (see Icmpv6.cc)
Inheritance diagram¶
Extends¶
Name |
Type |
Description |
|---|---|---|
class |
Represents an ICMPv6 packet. |
Fields¶
Name |
Type |
Description |
|---|---|---|
id |
int |
|
mutable |
bool |
|
complete |
bool |
|
correct |
bool |
|
properlyRepresented |
bool |
|
chunkLength |
||
rawBin |
string[] |
|
rawHex |
string[] |
|
regionTags |
||
chunkLength |
||
type |
1 byte int code; // 1 byte //TODO this should be specific to different ICMP types. |
|
chksum |
int |
2 bytes |
checksumMode |
4 bytes ‘type’ specific values |
|
type |
||
code |
int |
set to 0. |
identifier |
int |
identifier to aid in matching Echo replies. May be Zero |
seqNumber |
int |
sequence number to aid in matching Echo replies. May be Zero Data is attached through encapsulation. See Icmpv6.cc |
Properties¶
Name |
Value |
Description |
|---|---|---|
beforeChange |
handleChange() |
|
descriptor |
readonly |
|
existingClass |
||
packetData |
Source code¶
//
// ICMPv6 Echo Request packet (RFC2463: Section 4).
// Data is attached through encapsulation (see Icmpv6.cc)
//
class Icmpv6EchoRequestMsg extends Icmpv6Header
{
type = ICMPv6_ECHO_REQUEST;
int code = 0; //set to 0.
int identifier; // identifier to aid in matching Echo replies. May be Zero
int seqNumber; // sequence number to aid in matching Echo replies. May be Zero
//Data is attached through encapsulation. See Icmpv6.cc
}