EchoPacket

Namespace: inet

class EchoPacket

Generic network protocol packet for testing network connectivity.

Usage diagram

Inheritance diagram

Extends

Name

Type

Description

FieldsChunk

class

(no description)

Fields

Name

Type

Description

id

int

mutable

bool

complete

bool

correct

bool

properlyRepresented

bool

chunkLength

b

rawBin

string[]

rawHex

string[]

regionTags

SharingRegionTagSet::TagBaseRegionTag[]

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

Properties

Name

Value

Description

beforeChange

handleChange()

descriptor

readonly

existingClass

packetData

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