NED File src/inet/queueing/filter/OrdinalBasedDropper.ned
Name | Type | Description |
---|---|---|
OrdinalBasedDropper | simple module |
This module drops packets based on the ordinal number of the packet in the received stream of packets. |
Source code
// // Copyright (C) 2020 OpenSim Ltd. // // SPDX-License-Identifier: LGPL-3.0-or-later // package inet.queueing.filter; import inet.queueing.base.PacketFilterBase; // // This module drops packets based on the ordinal number of the packet in the // received stream of packets. // simple OrdinalBasedDropper extends PacketFilterBase { parameters: string dropsVector = default(""); // the dropsVector format is "<packetNumber>;<packetNumber>;...;" // packet numbers in ascending order e.g. "5;6;12;13;" @class(OrdinalBasedDropper); }