Package: inet.examples.diffserv.onedomain
TC1
compound moduleTraffic conditioner used in Experiments 1.1-1.6 and 5.1.
Usage diagram
The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| numClasses | int |
Properties
| Name | Value | Description |
|---|---|---|
| display | i=block/classifier |
Gates
| Name | Direction | Size | Description |
|---|---|---|---|
| in | input | ||
| out | output |
Unassigned submodule parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| classifier.displayStringTextFormat | string | "classified %p pk (%l)" |
determines the text that is written on top of the submodule |
| classifier.reverseOrder | bool | false | |
| classifier.filters | xml | xml(" |
|
| marker.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| marker.dscps | string |
space separated list if dscp values; both names (e.g. AF11, EF) and numbers (0x0A,0b101110) can be used |
Source code
// // Traffic conditioner used in Experiments 1.1-1.6 and 5.1. // module TC1 like ITrafficConditioner { parameters: int numClasses; @display("i=block/classifier"); gates: input in; output out; submodules: classifier: MultiFieldClassifier { @display("p=100,100"); } marker: DscpMarker { @display("p=250,100"); } connections: in --> classifier.in; for i=1..numClasses { classifier.out++ --> marker.in++; } classifier.defaultOut --> marker.in++; marker.out --> out; }File: examples/diffserv/onedomain/TC1.ned