The following Tspec definitions apply to the <rapi.h>
header:
- Type qos_Tspec_body is defined by typedef
as a structure with at least the following members:
Member |
Type |
Usage |
---|
spec_Tspec_r |
float32_t |
Token bucket average rate in bytes
per second |
spec_Tspec_b |
float32_t |
Token bucket depth in bytes |
spec_Tspec_m |
u_int32_t |
Minimum policed unit in bytes |
spec_Tspec_M |
u_int32_t |
Maximum packet size in bytes |
spec_Tspec_p |
float32_t |
Peak data rate in bytes per second |
- Type qos_tspecx_t is defined by typedef
as a structure that contains the generic Tspec parameters, and has
at least the following members:
Member |
Type |
Usage |
---|
spec_type |
qos_service_t |
QoS_service_type |
xtspec_Tspec |
qos_Tspec_body |
Tspec |
- The following macros are defined with the values given below:
Macro |
Value |
---|
xtspec_r |
xtspec_Tspec.spec_Tspec_r |
xtspec_b |
xtspec_Tspec.spec_Tspec_b |
xtspec_m |
xtspec_Tspec.spec_Tspec_m |
xtspec_M |
xtspec_Tspec.spec_Tspec_M |
xtspec_p |
xtspec_Tspec.spec_Tspec_p |
- Type rapi_tspec_t is defined by typedef
as a structure to represent a Tspec descriptor, and has at least the
following members:
Member |
Type |
Usage |
---|
form |
rapi_format_t |
Tspec format |
ISt |
IS_tspbody_t |
Int-serv format Tspec |
len |
unsigned int |
Actual length in bytes |
qosxt |
qos_tspecx_t |
Simplified format Tspec |
tspecbody_u |
union |
|
- The following macros are defined with the values given below:
Macro |
Value |
---|
tspecbody_qosx |
tspecbody_u.qosxt |
tspecbody_IS |
tspecbody_u.ISt |