Simple Module NetworkStackTrafficGen

Package: org.mixim.examples.ieee802154Narrow
File: examples/ieee802154Narrow/NetworkStackTrafficGen.ned

C++ definition

TODO auto-generated module

NetworkStackTrafficGen

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:

If a module type shows up more than once, that means it has been defined in more than one NED file.

PhyMacHost (compound module) (no description)

Parameters:

Name Type Default value Description
packetTime double
packetsPerPacketTime double
debug bool

debug switch

burstSize int 1
packetLength int

length of the generated packet (in bits)

destination int -1

Gates:

Name Direction Size Description
lowerGateIn input

from NIC

lowerGateOut output

to NIC

lowerControlIn input

control from NIC

lowerControlOut output

control to NIC

Source code:

//
// TODO auto-generated module
//
simple NetworkStackTrafficGen
{
    parameters:
        double packetTime @unit(s);
        double packetsPerPacketTime;
        bool debug; // debug switch
        int burstSize = default(1);
        int packetLength @unit("bit"); // length of the generated packet (in bits)
        int destination = default(-1);
    gates:
        input lowerGateIn; // from NIC
        output lowerGateOut; // to NIC
        input lowerControlIn; // control from NIC
        output lowerControlOut; // control to NIC
}