Package: inet.common.queue
Sink
simple moduleSilently discards all received packets.
Used in compound modules
Name | Type | Description |
---|---|---|
DiffservQueue | compound module |
This is an example queue, that can be used in interfaces of DS core and edge nodes to support the AFxy (RFC 2597) and EF (RFC 3246) PHBs. |
Properties
Name | Value | Description |
---|---|---|
display | i=block/sink |
Gates
Name | Direction | Size | Description |
---|---|---|---|
in [ ] | input |
Signals
Name | Type | Unit |
---|---|---|
rcvdPk | cPacket |
Statistics
Name | Title | Source | Record | Unit | Interpolation Mode |
---|---|---|---|---|---|
rcvdPk | packets received | rcvdPk | count, sum(packetBytes), vector(packetBytes) | none |
Source code
// // Silently discards all received packets. // simple Sink { parameters: @display("i=block/sink"); @signal[rcvdPk](type=cPacket); @statistic[rcvdPk](title="packets received"; source=rcvdPk; record=count,"sum(packetBytes)","vector(packetBytes)"; interpolationmode=none); gates: input in[]; }File: src/inet/common/queue/Sink.ned