Package: inet.protocolelement.common
PacketDestreamer
simple moduleThis module takes packets streamed to its input and passes them to its output.
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Known subclasses
| Name | Type | Description |
|---|---|---|
| EthernetCutthroughSource | simple module | (no description) |
Extends
| Name | Type | Description |
|---|---|---|
| PacketProcessorBase | simple module |
This is a base module for various packet processing modules which maintains a few statistics. |
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 |
Properties
| Name | Value | Description |
|---|---|---|
| display | i=block/cogwheel | |
| class | PacketDestreamer |
Gates
| Name | Direction | Size | Description |
|---|---|---|---|
| in | input | ||
| out | output |
Source code
// // This module takes packets streamed to its input and passes them to its output. // simple PacketDestreamer extends PacketProcessorBase like IPacketFlow { parameters: double datarate @unit(bps) = default(nan bps); @class(PacketDestreamer); @display("i=block/cogwheel"); gates: input in @labels(send,push,pull,stream); output out @labels(send,push,pull,pass); }File: src/inet/protocolelement/common/PacketDestreamer.ned