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.

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