The following adspec definitions apply to the <rapi.h>
header:
- Type qos_adspecx_t is defined by typedef as a structure
that contains the union of all adspec parameters for controlled-load
service and guaranteed service models, and has at least
the following members:
Member |
Type |
Usage |
---|
General path characterization parameters |
xaspec_flags |
u_int8_t |
Flags(1) |
xaspec_hopcnt |
u_int16_t |
|
xaspec_path_bw |
float32_t |
|
xaspec_min_latency |
u_int32_t |
|
xaspec_composed_MTU |
u_int32_t |
|
Controlled-load service adspec parameters |
xClaspec_flags |
u_int8_t |
Flags |
xClaspec_override |
u_int8_t |
See note (2) |
xClaspec_hopcnt |
u_int16_t |
|
xClaspec_path_bw |
float32_t |
|
xClaspec_min_latency |
u_int32_t |
|
xClaspec_composed_MTU |
u_int32_t |
|
Guaranteed service adspec parameters |
xGaspec_flags |
u_int8_t |
Flags |
xGaspec_Ctot |
u_int32_t |
|
xGaspec_Dtot |
u_int32_t |
|
xGaspec_Csum |
u_int32_t |
|
xGaspec_Dsum |
u_int32_t |
|
xGaspec_override |
u_int8_t |
See note (2) |
xGaspec_hopcnt |
u_int16_t |
|
xGaspec_path_bw |
float32_t |
|
xGaspec_min_latency |
u_int32_t |
|
xGaspec_composed_MTU |
u_int32_t |
|
Notes: - (1)
- FLG_IGN is not allowed; FLG_PARM is assumed.
- (2)
- A value of 1 means "override all generic parameters."
|
- The following macros are defined with bitwise-distinct integral
values for use in the xaspec_flags xClaspec_flags and xGaspec_flags fields:
Macro |
Meaning |
---|
XASPEC_FLG_BRK |
Break bit: service unsupported in
some node. |
XASPEC_FLG_IGN |
Ignore flag: Do not include this
service. |
XASPEC_FLG_PARM |
Parms-present flag: Include service
parameters. |
- Type rapi_adspec_t is defined by typedef as a structure
to represent an adspec descriptor, and has at least the following
members:
Member |
Type |
Usage |
---|
adsbody_u |
union |
|
adsx |
qos_adspecx_t |
Simplified format adspec |
form |
rapi_format_t |
adspec format |
ISa |
IS_adsbody_t |
Int-serv format adspec |
len |
unsigned int |
Actual length in bytes |
- The following macros are defined with the values given below:
Macro |
Value |
---|
adspecbody_IS |
adsbody_u.ISa |
adspecbody_qosx |
adsbody_u.adsx |