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.

Inheritance diagram:

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

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.

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
}