Traffic conditioner used in Experiments 1.1-1.6 and 5.1.
The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Name | Type | Default value | Description |
---|---|---|---|
numClasses | int |
Name | Value | Description |
---|---|---|
display | i=block/classifier |
Name | Direction | Size | Description |
---|---|---|---|
in | input | ||
out | output |
Name | Type | Default value | Description |
---|---|---|---|
classifier.filters | xml | xml(" |
|
marker.dscps | string |
space separated list if dscp values; both names (e.g. AF11, EF) and numbers (0x0A,0b101110) can be used |
// // 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=61,110"); } marker: DSCPMarker { @display("p=192,110"); } connections: in --> classifier.in; for i=1..numClasses { classifier.outs++ --> marker.in++; } classifier.defaultOut --> marker.in++; marker.out --> out; }