This module provides a mechanism to test network layer connectivity using echo request/response messages similar to that of ICMP.
The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Name | Type | Description |
---|---|---|
GenericNetworkLayer | compound module |
This module provides the generic network layer. |
SimpleNetworkLayer | compound module |
This module provides a simple network layer. |
WiseRouteNetworkLayer | compound module |
This module provides a simple network layer. |
Name | Value | Description |
---|---|---|
display | i=block/control_s |
Name | Direction | Size | Description |
---|---|---|---|
localIn | input | ||
pingIn [ ] | input |
ping requests from app |
|
pingOut [ ] | output |
result of ping |
|
sendOut | output |
towards network |
// // This module provides a mechanism to test network layer connectivity // using echo request/response messages similar to that of ICMP. // simple EchoProtocol { parameters: @display("i=block/control_s"); gates: input localIn @labels(GenericNetworkProtocolControlInfo/up); input pingIn[]; // ping requests from app output pingOut[]; // result of ping output sendOut @labels(GenericNetworkProtocolControlInfo/down); // towards network }