Simple Module DropsGenerator

Package: inet.linklayer.ppp
File: src/linklayer/ppp/DropsGenerator.ned

C++ definition

Drops generator module.

DropsGenerator

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:

Name Type Description
PPPInterfaceWithULDropsGenerator compound module

PPP interface. Complements the PPP module with an output queue for QoS and RED support.

Parameters:

Name Type Default value Description
dropsVector string ""

the dropsVector format is "<packetNumber>;<packetNumber>;...;" packet numbers in ascending order e.g. "5;6;12;13;"

Properties:

Name Value Description
node
display i=status/lightning

Gates:

Name Direction Size Description
in input
out output

Source code:

//
// Drops generator module.
//
simple DropsGenerator
{
    parameters:
        @node();
        string dropsVector = default(""); // the dropsVector format is "<packetNumber>;<packetNumber>;...;"
                                          // packet numbers in ascending order e.g. "5;6;12;13;"
        @display("i=status/lightning");
    gates:
        input in;
        output out;
}