CutthroughSource

Package: inet.protocolelement.cutthrough

simple module CutthroughSource

(no description)

inet.protocolelement.cutthrough.CutthroughSourceCutthroughSourcesimple

Inheritance diagram

Extends

Name

Type

Description

PacketDestreamer

simple module

Takes packets streamed to its input and passes them to its output.

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

datarate

double

nan bps

cutthroughPosition

int

Properties

Name

Value

Description

class

CutthroughSource

display

i=block/routing

Gates

Name

Direction

Size

Description

in

input

out

output

Source code

simple CutthroughSource extends PacketDestreamer
{
    parameters:
        int cutthroughPosition @unit(b);
        @class(CutthroughSource);
        @display("i=block/routing");
}

File: src/inet/protocolelement/cutthrough/CutthroughSource.ned