EthernetCutthroughSource

Package: inet.linklayer.ethernet.modular

simple module EthernetCutthroughSource

(no description)

inet.linklayer.ethernet.modular.EthernetCutthroughSourceEthernetCutthroughSourcesimple

Usage diagram

Inheritance diagram

Used in compound modules

Name

Type

Description

EthernetCutthroughLayer

compound module

(no description)

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

macTableModule

string

cutthroughSwitchingHeaderSize

int

0b

Properties

Name

Value

Description

class

EthernetCutthroughSource

display

i=block/routing

Gates

Name

Direction

Size

Description

in

input

out

output

Source code

simple EthernetCutthroughSource extends PacketDestreamer
{
    parameters:
        string macTableModule;
        int cutthroughSwitchingHeaderSize @unit(b) = default(0b);
        @class(EthernetCutthroughSource);
        @display("i=block/routing");
}

File: src/inet/linklayer/ethernet/modular/EthernetCutthroughSource.ned