EchoProtocol¶
Package: inet.networklayer.common
simple module EchoProtocol
Provides a mechanism to test network layer connectivity using echo request/response messages similar to those of ICMP.
Usage diagram¶
Inheritance diagram¶
Used in compound modules¶
Name |
Type |
Description |
|---|---|---|
compound module |
Provides a simple network layer. |
|
compound module |
Provides a network layer for the next hop forwarding. |
|
compound module |
Provides a simple network layer. |
Extends¶
Name |
Type |
Description |
|---|---|---|
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;
}