Module Interface RealworldDevice

Package: oversim.underlay.singlehostunderlay
File: src/underlay/singlehostunderlay/RealworldDevice.ned

RealworldDevice is a pseudo interface that allows communication with the real world through the TunOutScheduler WARNING: This does ONLY work with the combination IPv4|UDP|OverlayMessage

RealworldDevice

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram. Click here to see the full picture.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram. Click here to see the full picture.

Used in compound modules:

Name Type Description
SingleHost compound module

simulates a single host to connect it to a real network

Parameters:

Name Type Default value Description
mtu int

maximum transmission unit of the underlaying network

Source code:

//
// RealworldDevice is a pseudo interface that allows communication with the real world
// through the TunOutScheduler
// WARNING: This does ONLY work with the combination IPv4|UDP|OverlayMessage
//
moduleinterface RealworldDevice
{
    parameters:
        int mtu;    // maximum transmission unit of the underlaying network

    gates:
        input netwIn;    // incoming gate from network
        output netwOut;    // outgoing gate to network
}