IcmpEchoRequest
class(no description)
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Extends
| Name | Type | Description |
|---|---|---|
| IcmpHeader | class |
ICMP message class |
Fields
| Name | Type | Description |
|---|---|---|
| type | IcmpType |
1 byte |
| code | int |
1 byte |
| identifier | int |
sender module id // 2 bytes |
| seqNumber | int |
sequence number // 2 bytes |
| chunkLength | b | |
| chksum | int |
2 bytes, RFC 1071 |
| crcMode | CrcMode | |
| id | int | |
| mutable | bool | |
| complete | bool | |
| correct | bool | |
| properlyRepresented | bool | |
| rawBin | string[] | |
| rawHex | string[] | |
| regionTags | SharingRegionTagSet::TagBaseRegionTag[] |
Source code
class IcmpEchoRequest extends IcmpHeader { type = ICMP_ECHO_REQUEST; code = 0; int identifier; // sender module id // 2 bytes int seqNumber; // sequence number // 2 bytes }File: src/inet/networklayer/ipv4/IcmpHeader.msg