Package: inet.networklayer.common
EchoProtocol
simple moduleThis module provides a mechanism to test network layer connectivity using echo request/response messages similar to that of ICMP.
Used in compound modules
Name | Type | Description |
---|---|---|
NextHopNetworkLayer | compound module |
This module provides a network layer for the next hop forwarding. |
SimpleNetworkLayer | compound module |
This module provides a simple network layer. |
WiseRouteNetworkLayer | compound module |
This module provides a simple network layer. |
Properties
Name | Value | Description |
---|---|---|
display | i=block/control |
Gates
Name | Direction | Size | Description |
---|---|---|---|
ipIn | input | ||
ipOut | output |
Direct method calls (observed)
call to | function | info |
---|---|---|
MessageDispatcher | inet::MessageDispatcher::arrived | arrived |
MessageDispatcher | inet::MessageDispatcher::handleRegisterProtocol | handleRegisterProtocol |
Incoming messages (observed)
Outgoing messages (observed)
Packet operations (observed)
chunkType | packetAction |
---|---|
peekData | |
ByteCountChunk | insertAtBack |
EchoPacket | insertAtBack, peekAtFront, popAtFront |
Shared Tagging operations (observed)
tagType | tagAction |
---|---|
DispatchProtocolReq | addTag |
L3AddressInd | getTag |
L3AddressReq | addTag |
NetworkProtocolInd | getTag |
PacketProtocolTag | addTag |
Source code
// // 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"); gates: input ipIn; output ipOut; }File: src/inet/networklayer/common/EchoProtocol.ned