Icmpv6EchoRequestMsg

Namespace inet

Icmpv6EchoRequestMsg

class

ICMPv6 Echo Request packet (RFC2463: Section 4). Data is attached through encapsulation (see Icmpv6.cc)

Extends

Name Type Description
Icmpv6Header (unknown -- not in documented files)

Fields

Name Type Description
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

Packet operations (observed)

actionmodule
insertAtFrontPingApp

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
}

File: src/inet/networklayer/icmpv6/Icmpv6Header.msg