EthernetCutthroughSource

Package: inet.linklayer.ethernet.modular

EthernetCutthroughSource

simple module

C++ definition

(no description)

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
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 %p pk (%l)"

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