PacketDuplicatorBase

Package: inet.queueing.base

simple module PacketDuplicatorBase

Base type for packet duplicator implementations. Provides common functionality for creating and forwarding multiple copies of incoming packets.

inet.queueing.base.PacketDuplicatorBasePacketDuplicatorBasesimple

Inheritance diagram

Known subclasses

Name

Type

Description

OrdinalBasedDuplicator

simple module

Duplicates packets based on the ordinal number of the packet in the received stream of packets.

PacketDuplicator

simple module

Connects one packet producer to one packet consumer. It can be pushed with packets from the connected packet producer. When this happens, one or more copies of the packet are pushed to the output gate.

Extends

Name

Type

Description

PacketProcessorBase

simple module

Base module for various packet processing modules which maintains a few statistics.

Parameters

Name

Type

Default value

Description

displayStringTextFormat

string

“processed {numProcessedPackets} pk ({processedTotalLength})”

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

Properties

Name

Value

Description

class

PacketDuplicatorBase

display

i=block/star

Source code

//
// Base type for packet duplicator implementations. Provides common functionality
// for creating and forwarding multiple copies of incoming packets.
//
simple PacketDuplicatorBase extends PacketProcessorBase
{
    parameters:
        @class(PacketDuplicatorBase);
        @display("i=block/star");
}

File: src/inet/queueing/base/PacketDuplicatorBase.ned