EchoPacket

EchoPacket

class

Generic network protocol packet for testing network connectivity.

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.

Extends

Name Type Description
FieldsChunk class (no description)

Fields

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

mutable bool
complete bool
correct bool
properlyRepresented bool
rawBin string[]
rawHex string[]
tags RegionTagSet::cObjectRegionTag[]

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