EchoProtocol
Package: inet.networklayer.common
EchoProtocol
simple moduleProvides a mechanism to test network layer connectivity using echo request/response messages similar to those of ICMP.
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Used in compound modules
| Name | Type | Description |
|---|---|---|
| NextHopNetworkLayer | compound module |
Provides a network layer for the next hop forwarding. |
| SimpleNetworkLayer | compound module |
Provides a simple network layer. |
| WiseRouteNetworkLayer | compound module |
Provides a simple network layer. |
Extends
| Name | Type | Description |
|---|---|---|
| SimpleModule | simple module |
Base module for all INET simple modules. |
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| displayStringTextFormat | string | "" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
Properties
| Name | Value | Description |
|---|---|---|
| class | EchoProtocol | |
| display | i=block/control |
Gates
| Name | Direction | Size | Description |
|---|---|---|---|
| ipIn | input | ||
| ipOut | output |
Source code
// // Provides a mechanism to test network layer connectivity // using echo request/response messages similar to those of ICMP. // simple EchoProtocol extends SimpleModule { parameters: @class(EchoProtocol); @display("i=block/control"); gates: input ipIn; output ipOut; }File: src/inet/networklayer/common/EchoProtocol.ned