EchoPacket

Namespace inet

EchoPacket

class

Generic network protocol packet for testing network connectivity.

Extends

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

Fields

Name Type Description
chunkLength
type EchoProtocolType
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

Packet operations (observed)

actionmodule
insertAtBackEchoProtocol
insertAtFrontPingApp
peekAtFrontEchoProtocol
popAtFrontPingApp, EchoProtocol

Source code

//
// Generic network protocol packet for testing network connectivity.
//
class EchoPacket extends FieldsChunk
{
    chunkLength = B(6);
    EchoProtocolType type;
    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
}
File: src/inet/networklayer/common/EchoPacket.msg