Package: inet.queueing.marker
ContentBasedLabeler
simple moduleThis module attaches various request labels to packets.
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Extends
Name | Type | Description |
---|---|---|
PacketLabelerBase | simple module |
This is a base module for various packet labeler modules. |
Parameters
Name | Type | Default value | Description |
---|---|---|---|
displayStringTextFormat | string | "marked %p pk (%l)" |
determines the text that is written on top of the submodule |
labels | string | "" |
a space separated list of labels |
packetFilters | string | "*" |
semicolon separated packet filter expressions (e.g. ping-*), matches all packets by default |
packetDataFilters | string | "*" |
semicolon separated packet data filter expression (e.g. inet::Ipv4Header and srcAddress = "10.0.0.1"), matches all packets by default |
Properties
Name | Value | Description |
---|---|---|
display | i=block/star | |
class | ContentBasedLabeler |
Gates
Name | Direction | Size | Description |
---|---|---|---|
in | input | ||
out | output |
Source code
// // This module attaches various request labels to packets. // simple ContentBasedLabeler extends PacketLabelerBase like IPacketMarker { parameters: string packetFilters = default("*"); // semicolon separated packet filter expressions (e.g. ping-*), matches all packets by default string packetDataFilters = default("*"); // semicolon separated packet data filter expression (e.g. inet::Ipv4Header and srcAddress = "10.0.0.1"), matches all packets by default @class(ContentBasedLabeler); }File: src/inet/queueing/marker/ContentBasedLabeler.ned