PingPayload

Namespace inet

PingPayload

packet

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

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

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[];
}
File: src/inet/applications/pingapp/PingPayload.msg