Package: inet.queueing.base
PacketMarkerBase
simple moduleThis is a base module for various packet marker modules. Derived modules must implement a single markPacket() function which marks the individual packets by attaching tags.
See also: IPacketMarker, PacketLabeler
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Known subclasses
Name | Type | Description |
---|---|---|
EcnMarker | simple module |
Sets Explicit Congestion Notification (ECN) bits in IPv4 header based on the attached EcnReq tag on the packets. |
PacketLabeler | simple module |
This module attaches a LabelsTag to packets based on the configured filters. For each matching filter a new label is attached. |
PacketLabelerBase | simple module |
This is a base module for various packet labeler modules. |
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 | "marked %p pk (%l)" |
determines the text that is written on top of the submodule |
Source code
// // This is a base module for various packet marker modules. Derived modules must // implement a single markPacket() function which marks the individual packets // by attaching tags. // // @see ~IPacketMarker, ~PacketLabeler // simple PacketMarkerBase extends PacketProcessorBase { parameters: displayStringTextFormat = default("marked %p pk (%l)"); }File: src/inet/queueing/base/PacketMarkerBase.ned