Package: inet.queueing.common
PacketPushToSend
simple moduleActs as an adapter between the queueing framework and standard OMNeT++ modules. It receives packets through the push mechanism (as a passive packet sink) and forwards them using the standard OMNeT++ send operation. This module is useful for connecting queueing components to non-queueing modules that expect to receive packets via message sending.
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Extends
| Name | Type | Description |
|---|---|---|
| PassivePacketSinkBase | simple module |
Base module for various active packet sink modules. |
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| displayStringTextFormat | string | "received %p pk (%l)" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
Properties
| Name | Value | Description |
|---|---|---|
| class | PacketPushToSend | |
| display | i=block/cogwheel |
Gates
| Name | Direction | Size | Description |
|---|---|---|---|
| in | input | ||
| out | output |
Signals
| Name | Type | Unit | Description |
|---|---|---|---|
| packetPushed | inet::Packet |
Statistics
| Name | Title | Source | Record | Unit | Interpolation Mode | Description |
|---|---|---|---|---|---|---|
| packetDelayVariation | packet delay variation | stddev(weightedMeanPerGroup(groupRegionsPerPacket(lifeTimePerRegion(packetPushed)))) | vector, histogram | s |
the statistical value is the variation of the mean bit elapsed time per packet |
|
| outOfOrderPackets | out of order packets | outOfOrderPacket(packetPushed) | count? | pk |
the statistical value is the packet, packet name must have an index suffix (e.g. Foo-42) |
|
| packetDelayDifferenceToMean | packet delay difference to mean | differenceToMean(weightedMeanPerGroup(groupRegionsPerPacket(lifeTimePerRegion(packetPushed)))) | vector, histogram | s | none |
the statistical value is the difference of the current and the mean bit elapsed time per packet |
| outOfOrderPacketLengths | out of order packet lenghts | packetLength(outOfOrderPacket(packetPushed)) | vector? | b | none |
the statistical value is the length of the packet, packet name must have an index suffix (e.g. Foo-42) |
| duplicatePackets | duplicate packets | duplicatePacket(packetPushed) | count? | pk |
the statistical value is the packet, packet name must have an index suffix (e.g. Foo-42) |
|
| dataRate | data rate | throughput(packetPushed) | vector | bps | linear |
the statistical value is the data rate of the packets |
| missingPacketIndices | missing packet indices | missingPacketIndex(packetPushed) | count? | pk |
the statistical value is the packet index, packet name must have an index suffix (e.g. Foo-42) |
|
| bitLifeTime | bit life time | weightTimes(lengthWeightedValuePerRegion(lifeTimePerRegion(packetPushed))) | histogram? | s | none |
the statistical value is the time difference of the current simulation time and the creation time of the bit |
| packets | packets | packetPushed | count | pk |
the statistical value is the packet |
|
| duplicatePacketLengths | duplicate packet lengths | packetLength(duplicatePacket(packetPushed)) | vector? | b | none |
the statistical value is the length of the packet, packet name must have an index suffix (e.g. Foo-42) |
| packetLifeTime | packet life time | packetLifeTime(packetPushed) | vector, histogram | s | none |
the statistical value is the time difference of the current simulation time and the creation time of the whole packet data, nan if not all bits have the same value |
| meanBitLifeTimePerPacket | mean bit life time per packet | weightedMeanPerGroup(groupRegionsPerPacket(lifeTimePerRegion(packetPushed))) | vector, histogram | s | none |
the statistical value is the time difference of the current simulation time and the creation time of any bit in the region |
| packetLengths | packet lengths | packetLength(packetPushed) | sum, histogram, vector | b | none |
the statistical value is the length of the packet |
| packetJitter | packet jitter | jitter(weightedMeanPerGroup(groupRegionsPerPacket(lifeTimePerRegion(packetPushed)))) | vector, histogram | s | none |
the statistical value is the difference of subsequent values of the mean bit elapsed time per packet |
Source code
// // Acts as an adapter between the queueing framework and standard OMNeT++ // modules. It receives packets through the push mechanism (as a passive packet // sink) and forwards them using the standard OMNeT++ send operation. This // module is useful for connecting queueing components to non-queueing modules // that expect to receive packets via message sending. // simple PacketPushToSend extends PassivePacketSinkBase like IPassivePacketSink { parameters: @class(PacketPushToSend); @display("i=block/cogwheel"); gates: input in @labels(push); output out @labels(push); }File: src/inet/queueing/common/PacketPushToSend.ned