Simple Module ICMPv6

File: Network/ICMPv6/ICMPv6.ned

C++ definition: click here

ICMPv6 implementation.

To send ICMPv6 Echo Request, send any message to port pingIn with IPv6ControlInfo attached. The message will be used as ping payload (encapsulated into an ICMPv6Message). When ICMPv6 Echo Reply is received, the payload message will be sent to pingOut.

See also: IPv6, RoutingTable6, IPv6NeighbourDiscovery

Usage diagram:

The following diagram shows usage relationships between modules, networks and channels. Unresolved module (and channel) types are missing from the diagram. Click here to see the full picture.

Used in compound modules:

If a module type shows up more than once, that means it has been defined in more than one NED file.

NetworkLayer6

Represents an IPv6 network layer (L3).

Gates:

Name Direction Description
fromIPv6 input
toIPv6 output
pingIn input

ping requests from app

pingOut output
errorOut output

for errors

Source code:

simple ICMPv6
    gates:
        in: fromIPv6;
        out: toIPv6;
        in: pingIn; // ping requests from app
        out: pingOut;
	out: errorOut;  // for errors
endsimple