Packet PingPayload

File: src/inet/applications/pingapp/PingPayload.msg

C++ definition

Represents payload in an ICMP/ICMPv6 Echo Request/Reply.

TODO: move originator id and sequence number to ICMPMessage and use an ICMPControlInfo

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Fields:

Name Type Description
originatorId long

sender module id

seqNo long

sequence number

data unsigned char[]

Source code:

//
// Represents payload in an ICMP/ICMPv6 Echo Request/Reply.
//
// TODO: move originator id and sequence number to ICMPMessage and use an ICMPControlInfo
packet PingPayload
{
    long originatorId; // sender module id
    long seqNo; // sequence number
    unsigned char data[];
}