DuplicateRemoval
Package: inet.protocolelement.ordering
DuplicateRemoval
simple moduleFilters out duplicate packets based on sequence numbers. Keeps track of the last processed sequence number and discards packets with the same sequence number to prevent duplicate packet processing. Note that in order for this strategy to work, packets must arrive in the correct order.
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Extends
| Name | Type | Description |
|---|---|---|
| PacketPusherBase | simple module |
Base module for various packet pusher modules. |
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| displayStringTextFormat | string | "processed %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 | DuplicateRemoval | |
| display | i=block/rx |
Gates
| Name | Direction | Size | Description |
|---|---|---|---|
| in | input | ||
| out | output |
Source code
// // Filters out duplicate packets based on sequence numbers. Keeps track of the // last processed sequence number and discards packets with the same sequence // number to prevent duplicate packet processing. Note that in order for this // strategy to work, packets must arrive in the correct order. // simple DuplicateRemoval extends PacketPusherBase { parameters: @class(DuplicateRemoval); @display("i=block/rx"); }File: src/inet/protocolelement/ordering/DuplicateRemoval.ned