Simple Module TunOutDevice

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

C++ definition

TunOutDevice 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

TunOutDevice

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
TunOutRouter compound module

TunOut router.

TunOutRouter6 compound module

TunOut router.

Parameters:

Name Type Default value Description
mtu int

maximum transmission unit of the underlaying network

Properties:

Name Value Description
display i=block/ifcard

Gates:

Name Direction Size Description
netwIn input

incoming gate from network

netwOut output

outgoing gate to network

Source code:

// 
// TunOutDevice 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
//
simple TunOutDevice
{
    parameters:
        int mtu; // maximum transmission unit of the underlaying network
        @display("i=block/ifcard");

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