Package: inet.tutorials.queueing
ContentBasedTaggerTutorialStep
network(no description)
Usage diagram
The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.
Properties
| Name | Value | Description |
|---|---|---|
| isNetwork | ||
| display | bgb=600,200 |
Unassigned submodule parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| producer.displayStringTextFormat | string | "created %p pk (%l)" |
determines the text that is written on top of the submodule |
| producer.packetNameFormat | string | "%a-%c" |
see directives in module documentation |
| producer.packetRepresentation | string | "byteCount" |
determines the chunk of the packet data |
| producer.packetLength | int | ||
| producer.packetData | int | -1 | |
| producer.attachCreationTimeTag | bool | true | |
| producer.attachIdentityTag | bool | true | |
| producer.attachDirectionTag | bool | true | |
| producer.clockModule | string | "" |
relative path of a module that implements IClock(1,2); optional |
| producer.initialProductionOffset | double | 0s | |
| producer.productionInterval | double |
elapsed time between subsequent packets pushed to the connected packet consumer |
|
| producer.scheduleForAbsoluteTime | bool | true |
when a clock is used relative means that setting the clock will not affect the simulation time of the event |
| tagger.displayStringTextFormat | string | "tagged %p pk (%l)" |
determines the text that is written on top of the submodule |
| tagger.dscp | int | -1 |
specifies differentiated services code point |
| tagger.ecn | int | -1 |
specifies explicit congestion notification |
| tagger.tos | int | -1 |
if not -1, set the Type Of Service (IPv4) / Traffic Class (IPv6) field of sent packets to this value |
| tagger.interfaceName | string | "" |
specifies outgoing interface, unused by default |
| tagger.hopLimit | int | -1 |
specifies network layer TTL, unused by default |
| tagger.vlanId | int | -1 |
specifies VLAN, unused by default |
| tagger.pcp | int | -1 |
specifies PCP, unused by default |
| tagger.userPriority | int | -1 |
specifies user priority, unused by default |
| tagger.transmissionPower | double | nan W |
specifies signal transmission power, unused by default |
| tagger.packetFilter | object | "*" |
packet filter expressions, matches all packets by default |
| consumer.displayStringTextFormat | string | "received %p pk (%l)" |
determines the text that is written on top of the submodule |
| consumer.clockModule | string | "" |
relative path of a module that implements IClock(1,2); optional |
| consumer.consumptionInterval | double | 0s |
elapsed time between subsequent packets allowed to be pushed by the connected packet producer, 0 means any number of packets can be pushed at the same simulation time |
| consumer.scheduleForAbsoluteTime | bool | true |
when a clock is used relative means that setting the clock will not affect the simulation time of the event |
Source code
network ContentBasedTaggerTutorialStep { @display("bgb=600,200"); submodules: producer: ActivePacketSource { @display("p=100,100"); } tagger: ContentBasedTagger { @display("p=300,100"); } consumer: PassivePacketSink { @display("p=500,100"); } connections: producer.out --> tagger.in; tagger.out --> consumer.in; } //-------------------------------------------------File: tutorials/queueing/QueueingTutorial.ned