Simple Module RealworldDevice

File: Underlay/SingleHostUnderlay/RealworldDevice.ned

C++ definition: click here

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

Usage diagram:

The following diagram shows usage relationships between modules, networks and channels. Unresolved module (and channel) types are missing from the diagram. Click here to see the full picture.

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

simulates a single host to connect it to a real network

Parameters:

Name Type Description
mtu numeric

maximum transmission unit of the underlaying network

Gates:

Name Direction Description
netwIn input

incoming gate from network

netwOut output

outgoing gate to network

Source code:

simple RealworldDevice
    parameters:
	mtu: numeric; // maximum transmission unit of the underlaying network

    gates:
        in: netwIn;  // incoming gate from network
        out: netwOut; // outgoing gate to network
endsimple