Module Interface INetworkLayer

Package: inet.networklayer.contract
File: src/inet/networklayer/contract/INetworkLayer.ned

This module interface provides an abstraction for the upper and lower interfaces of different network layers.

INetworkLayer

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Extends:

Name Type Description
INetworkLayerUpper module interface

This module interface provides an abstraction for the upper interface of different network layers.

INetworkLayerLower module interface

This module interface provides an abstraction for the lower interface of different network layers.

Used in compound modules:

Name Type Description
MultiNetworkLayer compound module

This module supports multiple different network layers simultaneously. Packets received through the transport gates are handed over to the corresponding network layer based on the attached control info. Packets received from the interface gates are also handed over to the corresponding network layer based on their runtime type.

NodeBase compound module

Contains the common lower layers (linklayer and networklayer) of Router, StandardHost, WirelessHost etc.

Properties:

Name Value Description
display i=block/fork

Source code:

//
// This module interface provides an abstraction for the upper and lower
// interfaces of different network layers.
//
moduleinterface INetworkLayer extends INetworkLayerUpper, INetworkLayerLower
{
}