Icmpv6EchoReplyMsg¶
Namespace: inet
class Icmpv6EchoReplyMsg
Icmpv6 Echo Reply packet. 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 |
Properties¶
Name |
Value |
Description |
|---|---|---|
beforeChange |
handleChange() |
|
descriptor |
readonly |
|
existingClass |
||
packetData |
Source code¶
//
// Icmpv6 Echo Reply packet. Data is attached through encapsulation (see Icmpv6.cc)
//
class Icmpv6EchoReplyMsg extends Icmpv6Header
{
type = ICMPv6_ECHO_REPLY;
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
}