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)
| msg | kind | ctrl | tags | msgname | context |
|---|---|---|---|---|---|
| ClockEvent | 0 | EndStreamingTimer |
Direct method calls (observed)
| call to | function | info |
|---|---|---|
| PacketEmitter | inet::PacketEmitter::handleCanPushPacketChanged | handleCanPushPacketChanged |
| PacketEmitter | inet::PacketEmitter::handlePushPacketProcessed | handlePushPacketProcessed |
| StreamThroughTransmitter | inet::StreamThroughTransmitter::pushPacketEnd | pushPacketEnd |
| StreamThroughTransmitter | inet::StreamThroughTransmitter::pushPacketStart | pushPacketStart |
Called methods (observed)
| function | info | call from |
|---|---|---|
| inet::EthernetCutthroughSink::handleCanPushPacketChanged | handleCanPushPacketChanged | StreamThroughTransmitter |
| inet::EthernetCutthroughSink::handlePushPacketProcessed | handlePushPacketProcessed | StreamThroughTransmitter |
| inet::EthernetCutthroughSink::pushPacket | pushPacket | PacketEmitter |
Pushed in messages (observed)
| gate | msg | kind | ctrl | srcModule | tags |
|---|---|---|---|---|---|
| in | Packet | 0 | PacketEmitter | CutthroughTag, DirectionTag, EncapsulationProtocolReq, InterfaceInd, InterfaceReq, MacAddressReq, PacketProtocolTag |
Push out messages (observed)
| gate | msg | kind | ctrl | destModule | tags |
|---|---|---|---|---|---|
| out | Packet | 0 | StreamThroughTransmitter | DirectionTag, EncapsulationProtocolReq, InterfaceInd, InterfaceReq, MacAddressReq, PacketProtocolTag, CutthroughTag? |
Packet operations (observed)
| chunkType | packetAction |
|---|---|
| SequenceChunk | insertAt |
| StreamBufferChunk | removeAt |
Shared Tagging operations (observed)
| tagType | tagAction |
|---|---|
| CutthroughTag | findTag, removeTag |
Source code
simple EthernetCutthroughSink extends PacketStreamer { parameters: @class(EthernetCutthroughSink); @display("i=block/routing"); }File: src/inet/linklayer/ethernet/modular/EthernetCutthroughSink.ned