EthernetCutthroughSink

Package: inet.linklayer.ethernet.modular

EthernetCutthroughSink

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
PacketStreamer simple module

This module takes packets passed to its input and streams 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

clockModule string ""

relative path of a module that implements IClock; optional

datarate double nan bps

Properties

Name Value Description
display i=block/routing
class EthernetCutthroughSink

Gates

Name Direction Size Description
in input
out output

Scheduled messages (observed)

msgkindctrltagsmsgnamecontext
ClockEvent0EndStreamingTimer

Direct method calls (observed)

call tofunctioninfo
PacketEmitterinet::PacketEmitter::handleCanPushPacketChangedhandleCanPushPacketChanged
PacketEmitterinet::PacketEmitter::handlePushPacketProcessedhandlePushPacketProcessed
StreamThroughTransmitterinet::StreamThroughTransmitter::pushPacketEndpushPacketEnd
StreamThroughTransmitterinet::StreamThroughTransmitter::pushPacketStartpushPacketStart

Called methods (observed)

functioninfocall from
inet::EthernetCutthroughSink::handleCanPushPacketChangedhandleCanPushPacketChangedStreamThroughTransmitter
inet::EthernetCutthroughSink::handlePushPacketProcessedhandlePushPacketProcessedStreamThroughTransmitter
inet::EthernetCutthroughSink::pushPacketpushPacketPacketEmitter

Pushed in messages (observed)

gatemsgkindctrlsrcModuletags
inPacket0PacketEmitterCutthroughTag, DirectionTag, EncapsulationProtocolReq, InterfaceInd, InterfaceReq, MacAddressReq, PacketProtocolTag

Push out messages (observed)

gatemsgkindctrldestModuletags
outPacket0StreamThroughTransmitterDirectionTag, EncapsulationProtocolReq, InterfaceInd, InterfaceReq, MacAddressReq, PacketProtocolTag, CutthroughTag?

Packet operations (observed)

chunkTypepacketAction
SequenceChunkinsertAt
StreamBufferChunkremoveAt

Shared Tagging operations (observed)

tagTypetagAction
CutthroughTagfindTag, removeTag

Source code

simple EthernetCutthroughSink extends PacketStreamer
{
    parameters:
        @class(EthernetCutthroughSink);
        @display("i=block/routing");
}
File: src/inet/linklayer/ethernet/modular/EthernetCutthroughSink.ned