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. 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.

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;
}