Namespace inet
EchoPacket
classGeneric 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)
| action | module |
|---|---|
| insertAtBack | EchoProtocol |
| insertAtFront | PingApp |
| peekAtFront | EchoProtocol |
| popAtFront | PingApp, 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