Namespace inet
RateTag
classThis tag can be attached to individual packets the specify the data rate and packet rate. The values are meaningful for a stream of packets which this packet is part of.
Extends
| Name | Type | Description |
|---|---|---|
| TagBase | (unknown -- not in documented files) |
Fields
| Name | Type | Description |
|---|---|---|
| datarate | bps | |
| packetrate | double |
Shared Tagging operations (observed)
| tagAction | module |
|---|---|
| addTagIfAbsent | ExponentialRateMeter |
| getTag | StatisticalRateLimiter |
Source code
// // This tag can be attached to individual packets the specify the data rate and // packet rate. The values are meaningful for a stream of packets which this // packet is part of. // class RateTag extends TagBase { bps datarate; double packetrate; }File: src/inet/queueing/common/RateTag.msg