Simple Module DuplicatesGenerator

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

C++ definition

Duplicate generator module.

DuplicatesGenerator

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.

PPPInterfaceWithDLDuplicatesGenerator (compound module)

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

Parameters:

Name Type Default value Description
duplicatesVector string ""

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

Properties:

Name Value Description
node
display i=status/busy

Gates:

Name Direction Size Description
in input
out output

Source code:

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