Module Interface INetworkProtocol

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

This interface provides an abstraction for different network protocols.

INetworkProtocol

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.

Used in compound modules:

Name Type Description
SimpleNetworkLayer compound module

This module provides a simple network layer.

Properties:

Name Value Description
display i=block/fork

Source code:

//
// This interface provides an abstraction for different network protocols.
//
moduleinterface INetworkProtocol
{
    parameters:
        @display("i=block/fork");
    gates:
        input upperLayerIn[];
        output upperLayerOut[];
        input lowerLayerIn[];
        output lowerLayerOut[];
}