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)
| msg | kind | ctrl | tags | msgname | context |
|---|---|---|---|---|---|
| omnetpp::cMessage | 0 | CutthroughTimer |
Direct method calls (observed)
| call to | function | info |
|---|---|---|
| PacketEmitter | inet::PacketEmitter::pushPacket | pushPacket |
Called methods (observed)
| function | info | call from |
|---|---|---|
| inet::EthernetCutthroughSource::pushPacketEnd | pushPacketEnd | StreamThroughReceiver |
| inet::EthernetCutthroughSource::pushPacketStart | pushPacketStart | StreamThroughReceiver |
Pushed in messages (observed)
| gate | msg | kind | ctrl | srcModule | tags |
|---|---|---|---|---|---|
| in | Packet | 0 | StreamThroughReceiver | DirectionTag, InterfaceInd, PacketProtocolTag |
Push out messages (observed)
| gate | msg | kind | ctrl | destModule | tags |
|---|---|---|---|---|---|
| out | Packet | 0 | PacketEmitter | CutthroughTag, DirectionTag, InterfaceInd, PacketProtocolTag |
Packet operations (observed)
| chunkType | packetAction |
|---|---|
| peekData, setBackOffset, setFrontOffset | |
| Chunk | removeAt |
| EthernetFcs | popAtBack |
| EthernetMacHeader | popAtFront |
| StreamBufferChunk | insertAt |
| EthernetPhyHeaderBase | popAtFront |
Shared Tagging operations (observed)
| tagType | tagAction |
|---|---|
| CutthroughTag | addTag |
| PacketProtocolTag | findTag |
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