EthernetCutthroughSource

Package: inet.linklayer.ethernet.modular

EthernetCutthroughSource

simple module

(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

This 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

datarate double nan bps
macTableModule string
cutthroughSwitchingHeaderSize int 0b

Properties

Name Value Description
display i=block/routing
class EthernetCutthroughSource

Gates

Name Direction Size Description
in input
out output

Scheduled messages (observed)

msgkindctrltagsmsgnamecontext
omnetpp::cMessage0CutthroughTimer

Direct method calls (observed)

call tofunctioninfo
PacketEmitterinet::PacketEmitter::pushPacketpushPacket

Called methods (observed)

functioninfocall from
inet::EthernetCutthroughSource::pushPacketEndpushPacketEndStreamThroughReceiver
inet::EthernetCutthroughSource::pushPacketStartpushPacketStartStreamThroughReceiver

Pushed in messages (observed)

gatemsgkindctrlsrcModuletags
inPacket0StreamThroughReceiverDirectionTag, InterfaceInd, PacketProtocolTag

Push out messages (observed)

gatemsgkindctrldestModuletags
outPacket0PacketEmitterCutthroughTag, DirectionTag, InterfaceInd, PacketProtocolTag

Packet operations (observed)

chunkTypepacketAction
peekData, setBackOffset, setFrontOffset
ChunkremoveAt
EthernetFcspopAtBack
EthernetMacHeaderpopAtFront
StreamBufferChunkinsertAt
EthernetPhyHeaderBasepopAtFront

Shared Tagging operations (observed)

tagTypetagAction
CutthroughTagaddTag
PacketProtocolTagfindTag

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