INetworkProtocol

Package: inet.networklayer.contract

INetworkProtocol

module interface

This interface provides an abstraction for different network protocols.

Inheritance diagram

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

Implemented by

Name Type Description
AdaptiveProbabilisticBroadcast simple module

Multi-hop ad-hoc data dissemination protocol based on probabilistic broadcast, with adaptive parameters.

Flooding simple module

A simple flooding protocol for network-level broadcast.

ProbabilisticBroadcast simple module

Multi-hop ad-hoc data dissemination protocol based on probabilistic broadcast.

WiseRoute simple module

Wiseroute is a simple loop-free routing algorithm that builds a routing tree from a central network point, designed for sensor networks and convergecast traffic.

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 transportIn @labels(INetworkProtocolControlInfo/down);
        output transportOut @labels(INetworkProtocolControlInfo/up);
        input queueIn @labels(INetworkHeader);
        output queueOut @labels(INetworkHeader);
}

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