#include <OS_QoS.h>
Public Methods | |
| ACE_Flow_Spec (void) | |
| Default constructor. | |
| ACE_Flow_Spec (unsigned long token_rate, unsigned long token_bucket_size, unsigned long peak_bandwidth, unsigned long latency, unsigned long delay_variation, ACE_SERVICE_TYPE service_type, unsigned long max_sdu_size, unsigned long minimum_policed_size, int ttl, int priority) | |
| Constructor that initializes all the fields. | |
| unsigned long | token_rate (void) const |
| Get the token rate in bytes/sec. | |
| void | token_rate (unsigned long tr) |
| Set the token rate in bytes/sec. | |
| unsigned long | token_bucket_size (void) const |
| Get the token bucket size in bytes. | |
| void | token_bucket_size (unsigned long tbs) |
| Set the token bucket size in bytes. | |
| unsigned long | peak_bandwidth (void) const |
| Get the PeakBandwidth in bytes/sec. | |
| void | peak_bandwidth (unsigned long pb) |
| Set the PeakBandwidth in bytes/sec. | |
| unsigned long | latency (void) const |
| Get the latency in microseconds. | |
| void | latency (unsigned long l) |
| Set the latency in microseconds. | |
| unsigned long | delay_variation (void) const |
| Get the delay variation in microseconds. | |
| void | delay_variation (unsigned long dv) |
| Set the delay variation in microseconds. | |
| ACE_SERVICE_TYPE | service_type (void) const |
| Get the service type. | |
| void | service_type (ACE_SERVICE_TYPE st) |
| Set the service type. | |
| unsigned long | max_sdu_size (void) const |
| Get the maximum SDU size in bytes. | |
| void | max_sdu_size (unsigned long mss) |
| Set the maximum SDU size in bytes. | |
| unsigned long | minimum_policed_size (void) const |
| Get the minimum policed size in bytes. | |
| void | minimum_policed_size (unsigned long mps) |
| Set the minimum policed size in bytes. | |
| int | ttl (void) const |
| Get the time-to-live. | |
| void | ttl (int t) |
| Set the time-to-live. | |
| int | priority (void) const |
| Get the priority. | |
| void | priority (int p) |
| Set the priority. | |
Private Attributes | |
| unsigned long | token_rate_ |
| unsigned long | token_bucket_size_ |
| unsigned long | peak_bandwidth_ |
| unsigned long | latency_ |
| unsigned long | delay_variation_ |
| ACE_SERVICE_TYPE | service_type_ |
| unsigned long | max_sdu_size_ |
| unsigned long | minimum_policed_size_ |
| int | ttl_ |
| int | priority_ |
|
|
Default constructor.
|
|
||||||||||||||||||||||||||||||||||||||||||||
|
Constructor that initializes all the fields.
|
|
|
Set the delay variation in microseconds.
|
|
|
Get the delay variation in microseconds.
|
|
|
Set the latency in microseconds.
|
|
|
Get the latency in microseconds.
|
|
|
Set the maximum SDU size in bytes.
|
|
|
Get the maximum SDU size in bytes.
|
|
|
Set the minimum policed size in bytes.
|
|
|
Get the minimum policed size in bytes.
|
|
|
Set the PeakBandwidth in bytes/sec.
|
|
|
Get the PeakBandwidth in bytes/sec.
|
|
|
Set the priority.
|
|
|
Get the priority.
|
|
|
Set the service type.
|
|
|
Get the service type.
|
|
|
Set the token bucket size in bytes.
|
|
|
Get the token bucket size in bytes.
|
|
|
Set the token rate in bytes/sec.
|
|
|
Get the token rate in bytes/sec.
|
|
|
Set the time-to-live.
|
|
|
Get the time-to-live.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.2.18